Answers for "have flat list automatically wrap react native"

1

have flat list automatically wrap react native

<FlatList
    contentContainerStyle={{flexDirection : "row", flexWrap : "wrap"}} 
    data={this.state.dataSource} renderItem={({item}) =>
        <Button>
            <Text>{item.key}</Text>
        </Button>
    }
/>
Posted by: Guest on July-19-2021

Code answers related to "have flat list automatically wrap react native"

Code answers related to "Javascript"

Browse Popular Code Answers by Language