Skip to content

crazycodeboy/react-native-isiphonex-device

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A react native module to replace DeviceInfo.isIPhoneX_deprecated.

Resources

Stars

Watchers

Forks

Packages

No packages published