Grid
React Native Store UI template provides you a clean list of components which helps you to generate grid with minimal efforts. See below samples
Sample 2 Columns
<Container>
<Row>
<Column>
<P>Column 1 (50%)</P>
</Column>
<Column>
<P>Column 2 (50%)</P>
</Column>
</Row>
</Container>Output

Sample 3 Columns with align props
Output

Sample 2 Columns with different width
Output

Container
Props
Required
Default
style
No
style.paddingHorizontal
No
15
Row
Props
Required
Default
style
No
style.marginHorizontal
No
-10
nomargin
No
false
Column
Props
Required
Default
flex
No
0.5
align
No
flex-start
style
No
style.paddingHorizontal
No
10
nopadding
No
false
Last updated
Was this helpful?