Hangry/app/config/screen.js

4 lines
148 B
JavaScript
Raw Permalink Normal View History

2024-02-27 16:19:55 +08:00
import {Dimensions} from 'react-native'
export const width = Dimensions.get('window').width;
export const height = Dimensions.get('window').height;