isiphonex

1.2.0 • Public • Published

isIphoneX check for React Native

A small library that checks if the current device is an iPhoneX for React Native

Installation

npm install isiphonex

Usage

const check = require('isiphonex')

const result = check.isIphoneX()

result should be true for iPhoneX devices and simulators, and false for other devices

Contributing

PRs welcome

Package Sidebar

Install

npm i isiphonex

Weekly Downloads

5

Version

1.2.0

License

MIT

Last publish

Collaborators

  • stevenolson