# react-native-status-bar-height-js

> Library to get status bar height for Android and iOS
>
> For Android it directly uses StatusBar.currentHeight from react-native
>
> For iOS sizes are hardcoded based on Device name (iPhones devices from iPhone 6 to iPhone 14 generations are supported)

## Install

```bash
$ npm i react-native-device-info react-native-status-bar-height-js
$ cd ios && pod install

# OR
$ yarn add react-native-device-info react-native-status-bar-height-js
$ cd ios && pod install
```

## Usage

```js
import STATUS_BAR_HEIGHT from 'react-native-status-bar-height-js';
```

## License

This project is open-sourced software licensed under the MIT License.
