Files
argon-react-native/constants/utils.js
Alin Gheorghe ab12111067 first init
2019-05-29 17:39:06 +03:00

6 lines
311 B
JavaScript

import { Platform, StatusBar } from 'react-native';
import { theme } from 'galio-framework';
export const StatusHeight = StatusBar.currentHeight;
export const HeaderHeight = (theme.SIZES.BASE * 3.5 + (StatusHeight || 0));
export const iPhoneX = () => Platform.OS === 'ios' && (height === 812 || width === 812);