Files
vf_react/argon-pro-react-native/constants/utils.js
2026-01-13 15:10:13 +08: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);