1.0.1 • Published 7 years ago
is-iphonex v1.0.1
is-iphonex
Judge if the device is iPhone X based on the device height.
Usage:
import isIPhoneX from 'is-iphonex';
console.log(isIPhoneX()) // log 'true' on device iPhoneX
Judge if the device is iPhone X based on the device height.
Usage:
import isIPhoneX from 'is-iphonex';
console.log(isIPhoneX()) // log 'true' on device iPhoneX