dimensions react native
snippet in javascript

dimensions react native

user6787

import { Dimensions } from 'react-native';

console.log({
	width: Dimensions.get('window').width,
	height: Dimensions.get('window').height
})