README
React-JK-Grid
The three of React components that implement JK-Grid.
If you want to view complete examples, please ref to JK-Grid Examples.
Installation
$ npm i --save react-jk-grid
react-jk-grid depends on 3 peer dependencies:
react@^15.0.0prop-types@^15.0.0jk-grid@^0.0.6
You should install them in your project.
Usage
In Stylus:
@import '~jk-grid/src/grid'In JavaScript:
import React from 'react' import { Container, Col, Row } from 'react-jk-grid' const App = props => <Container> <Row> <Col xs={6} md={3}>Hello, world!</Col> </Row> </Container>
Prop Interfaces
Container
className?: stringfluid?: booleanlimited?: booleannoPadding?: boolean
Row
className?: stringnoMargin?: booleanreverse?: booleancolumn?: booleanshow?:breakpointSizehidden?: breakpointSizestart?: breakpointSizecenter?: breakpointSizeend?: breakpointSizetop?: breakpointSizemiddle?: breakpointSizebottom?: breakpointSizearound?: breakpointSizebetween?: breakpointSize
Col
className?: stringnoPadding?: booleanautoWidth?: booleanxs?:cellSizesm?: cellSizemd?: cellSizelg?: cellSizehg?: cellSizeshow?: breakpointSizehidden?: breakpointSizefirst?: breakpointSizelast?: breakpointSize