0.1.0 • Published 7 years ago
react-flexbox-helpers v0.1.0
react-flexbox-helpers
Premade flexbox components built for react
Install
$ npm install react-flexbox-helpers --save
Usage
import { Flex, Row, Column } from 'react-flexbox-helpers'
..
render () {
return (
<Row>
<Column>
<Flex>Hey!</Flex>
</Column>
<Column>
<Flex>I'm a column</Flex>
<Flex>I'm a column too</Flex>
</Column>
</Row>
)
}
className componentStyle
API
Param | Type | required |
---|---|---|
className | String | false |
componentStyle | Object | false |
top | String | false |
bottom | String | false |
left | String | false |
right | String | false |
align | String | false |
justify | String | false |
full | Boolean | false |
MIT © Jack Hanford
0.1.0
7 years ago