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>
}
/>