react-row-col
v1.0.5
Published
react grid layout components library
Readme
Download
npm i react-row-colUsage
Row
- The Row component wraps the Col component and has gutter props.
- The gutter props pass an array, and [10, 20] sets the padding of the Col component to top, bottom 10px, left, right 20px.
Col
| props | width | description | type | |:---------------:|:-----:|:-----------:|:----:| |
span| all width | Raster number of cells to occupy, 0 | number | |xs| screen < 576px | could be a span value | number | |xs| screen < 576px | could be a span value | number | |sm| screen ≥ 576px | could be a span value | number | |md| screen ≥ 768px | could be a span value | number | |lg| screen ≥ 992px | could be a span value | number | |xl| screen ≥ 1200px | could be a span value | number | |xxl| screen ≥ 1600px | could be a span value | number |spanprops are ignored if props fromxstoxxlare present.- span value
-1is "display: none"
