Buat komponen reaktif mengambil tinggi dan lebar jendela saat ini

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

Anatu Green