Flatlist LISTEMPYCOMPONENT CENTER
<FlatList
data={params}
renderItem={renderItem}
keyExtractor={(item) => item.unique.toString()}
ListEmptyComponent={RenderEmpty}
onEndReached={()=>(<LoadingSpinner/>)}
contentContainerStyle={{ flexGrow: 1}}
/>
contentContainerStyle={{ flexGrow: 1}} this will work
Singh99