react-flexbox-helpers
v0.1.0
Published
React flexbox helper components
Maintainers
Readme
react-flexbox-helpers
Premade flexbox components built for react
Install
$ npm install react-flexbox-helpers --saveUsage
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
