【发布时间】:2021-02-02 22:05:34
【问题描述】:
我在 flatlist 中有 numColumns 3。 我希望我的平面列表显示为
ooo
oo
不是
ooo
o o
如果我的数据是 data%3==2
这是我的代码
columnWrapperStyle={{justifyContent:'space-between'}}
我的组件的宽度是 (width-6)/3 所以它需要 3 px 空间
【问题讨论】:
标签: react-native flexbox flatlist