Make a ReactNative component take the height and width of the current window
import { Dimensions } from 'react-native'; //Import the Dimensions
<View
style={{width: Dimensions.get('window').width,
height: Dimensions.get('window').height }} />
//You can customize this as you want