import { NativeModules, Platform } from 'react-native'; const estimatedStatusBarHeight = NativeModules.NativeUnimoduleProxy?.modulesConstants?.ExponentConstants ?.statusBarHeight ?? 0; export const APPROX_STATUSBAR_HEIGHT = Platform.select({ android: estimatedStatusBarHeight, ios: Platform.Version < 11 ? estimatedStatusBarHeight : 0, }); export const BASE_HEIGHT: number = 56;