rn-grid-layout
v1.0.22
Published
easy to use grid layout in react-native
Downloads
27
Maintainers
Readme
react-native-grid
easy to use grid layout in react-native
Installation
npm install rn-grid-layout
Usage with col (for uniform grid)
import Grid from 'rn-grid-layout';
<Grid col={3} space={12}>
//- your components
</Grid>;
Usage with template (for un-uniform grid)
import Grid from 'rn-grid-layout';
<Grid template={[1, 2]} space={12}>
//- your components
<View></View> //- first component
<View></View> //- double width of first component
</Grid>;
License
ISC