how to make flatlist fill the height ?
// The parental Views of FlatList should have flex: 1 in their style.
<View style={{
justifyContent: "center",
width: "100%",
marginVertical: 10,
flex: 1,
}}>
<FlatList
data={covidList}
renderItem={renderItem}
keyExtractor={item => item._id}
/>
</View>