1import { Dimensions , StatusBar } from 'react-native';
2
3const screenHeight = Dimensions.get('screen').height;
4const windowHeight = Dimensions.get('window').height;
5const navbarHeight = screenHeight - windowHeight + StatusBar.currentHeight;
6
1import {Dimensions, StatusBar} from 'react-native';
2
3const DEVICE_HEIGHT = Dimensions.get('screen').height;
4const STATUS_BAR = StatusBar.statusBarHeight || 24;
5const WINDOW_HEIGHT = Dimensions.get('window').height;
6
7