react-flexbox-helpers

0.1.0 • Public • Published

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

/react-flexbox-helpers/

    Package Sidebar

    Install

    npm i react-flexbox-helpers

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • hanford