react native how to get size of screen code example
Example: react-native how to get size of screen
import { Dimensions } from 'react-native';
dimensions: {
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
}
import { Dimensions } from 'react-native';
dimensions: {
width: Dimensions.get('window').width,
height: Dimensions.get('window').height
}