Answers for "flatlist listemptycomponent center"

0

flatlist listemptycomponent center

<FlatList
  data={params}
  renderItem={renderItem}
  keyExtractor={(item) => item.unique.toString()}
  ListEmptyComponent={RenderEmpty}
  onEndReached={()=>(<LoadingSpinner/>)}
  contentContainerStyle={{ flexGrow: 1}}

/>


  contentContainerStyle={{ flexGrow: 1}} this will work
Posted by: Guest on May-24-2021

Code answers related to "flatlist listemptycomponent center"

Browse Popular Code Answers by Language