An open API service indexing awesome lists of open source software.

https://github.com/davinci2015/react-native-ios-status-bar-padding


https://github.com/davinci2015/react-native-ios-status-bar-padding

ios react-native statusbar

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# react-native-ios-status-bar-padding

Calculate and adjust status bar padding for iOS devices.
Component needs to be placed at top of screen/view.

## Installation

```bash
npm install react-native-ios-status-bar-padding --save
```

## Usage

Require package from your Javascript file as shown below:

```js
import React, { Component } from 'react-native';
import StatusBarPaddingIOS from 'react-native-ios-status-bar-padding';

class ExampleComponent extends Component {
render() {
return()
}
}

export default ExampleComponent;
```

Provide custom styles to bar (applies only in iOS)
```js

```