flexWrap wrap is not supported with the VirtualizedList on React Native

`flexWrap: `wrap`` is not supported with the `VirtualizedList` 

if you are faced with this error using a FlastList from react native here is your solution below

<FlatList
        contentContainerStyle={styles.list}
        data={allItems}
        numColumns={2}
        renderItem={({item}) => (
          <Fragment key={item.toString()}>
            <Items />
          </Fragment>
        )}
/>
const styles = StyleSheet.create({
  list: {
    justifyContent: 'center',
    flexDirection: 'column',
  },
});