flexbox - React Native Grid of Buttons -


i'm new react-native, , i'm trying make grid of buttons can change number of buttons per row , overall number of buttons. making grid not problem changing number of items per row harder. give me advice on should use achieve goal? i'm using flex-box , listview right now.

i don't recommend use listview, try create new component instead represent each row on grid , create componen represents each button on ro. can create many button want on each row , able modify styles.

you can still use flexbox order elements @ center.


Comments

Popular posts from this blog

Multilayer CSV to filtered excel -

Listboxes in c# -

ios - Why must I define variables twice in the Header file? -