Hangry/app/config/screen.js

4 lines
148 B
JavaScript
Executable File

import {Dimensions} from 'react-native'
export const width = Dimensions.get('window').width;
export const height = Dimensions.get('window').height;