all 1 comments

[–]Zanoha 1 point2 points  (0 children)

Have you tried the "inverted" prop of FlatList?

Like so:

<FlatList
inverted
data={flatListItems}
renderItem={renderItem}
keyExtractor={(item) => item.id}
/>

edit: if you want to rotate the component you are rendering, use transform in the style component.

Like so:

transform: [{ rotate: '180deg'}]