react-native-iphone-se-helper
This package was created with strong motivation for react-native-iphone-x-helper (author: ptelad)
install
yarn add react-native-iphone-se-helper#or npm install react-native-iphone-se-helper --save
API
isIphoneSE(): boolean
returns whether the device is a iPhons SE or others
concernSESize(originalSize: number, seSize: number): number
determines the size by dividing whether it is SE or not
Example
; const styles = StyleSheet;
License
MIT