Package Exports
- react-native-status-bar-height
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-status-bar-height) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-status-bar-height
Small library that helps you to get status bar height
P.S 📱X supported ❤️
npm install --save react-native-status-bar-height
How to use it:
import { getStatusBarHeight } from 'react-native-status-bar-height';
// iPhoneX: 44pt
// iOS device: 20pt
// Android: 0
console.log(getStatusBarHeight());
LICENSE
This project is open-sourced software licensed under the MIT License.
See the LICENSE file for more information.