get width and height of screen react native 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
}