2.5.0 • Published 3 years ago

react-native-isiphonex-device v2.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-native-isiphonex-device-device

A react native module to replace DeviceInfo.isIPhoneX_deprecated.

release PRs Welcome NPM version License MIT

Content

Installation

  • 1.Run npm i react-native-isiphonex-device --save
    • or yarn add react-native-isiphonex-device
  • 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