1.2.0 • Published 7 years ago

isiphonex v1.2.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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