1.0.22 • Published 3 years ago

rn-grid-layout v1.0.22

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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

1.0.22

3 years ago

1.0.21

3 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago