https://github.com/hanford/react-flexbox-helpers
Helper components for quickly using flexbox with React
https://github.com/hanford/react-flexbox-helpers
component-library flexbox flexbox-helper open-source react
Last synced: 22 days ago
JSON representation
Helper components for quickly using flexbox with React
- Host: GitHub
- URL: https://github.com/hanford/react-flexbox-helpers
- Owner: hanford
- Created: 2017-06-26T03:41:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-26T03:53:49.000Z (almost 8 years ago)
- Last Synced: 2025-03-18T13:07:37.174Z (about 1 month ago)
- Topics: component-library, flexbox, flexbox-helper, open-source, react
- Language: JavaScript
- Size: 27.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## react-flexbox-helpers
> Premade flexbox components built for react
## Install
```
$ npm install react-flexbox-helpers --save
```## Usage
```js
import { Flex, Row, Column } from 'react-flexbox-helpers'..
render () {
return (
Hey!
Im a column
Im a column too
)
}
```## 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](http://jackhanford.com)