Answers for "how to make flatlist fill the height ?"

1

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>
Posted by: Guest on September-09-2021

Code answers related to "how to make flatlist fill the height ?"

Code answers related to "Javascript"

Browse Popular Code Answers by Language