Two columns in RN FlatList

doublemax picture doublemax · Jan 18, 2018 · Viewed 14.2k times · Source

How can I list 2 columns in a React Native Flatlist, e.g.:

enter image description here

Answer

Eduardo Macêdo picture Eduardo Macêdo · Jan 19, 2018

Just pass the prop numColumns to your FlatList component.