react-native-isiphonex-device-wu
v2.5.2
Published
A react native module to replace DeviceInfo.isIPhoneX_deprecated.
Downloads
3
Maintainers
Readme
react-native-isiphonex-device-device
A react native module to replace DeviceInfo.isIPhoneX_deprecated.
Content
Installation
- 1.Run
npm i react-native-isiphonex-device --save
- or
yarn add react-native-isiphonex-device
- or
- 2.
import { isIPhoneX } from 'react-native-isiphonex-device'
Getting started
Add react-native-isiphonex-device
to your js file.
import { isIPhoneX } from 'react-native-isiphonex-device'
Contribution
Issues are welcome. Please add a screenshot of bug and code snippet. Quickest way to solve issue is to reproduce it on one of the examples.
Pull requests are welcome. If you want to change API or making something big better to create issue and discuss it first.
MIT Licensed