0.1.0 • Published 7 years ago

react-flexbox-helpers v0.1.0

Weekly downloads
10
License
MIT
Repository
github
Last release
7 years ago

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

ParamTyperequired
classNameStringfalse
componentStyleObjectfalse
topStringfalse
bottomStringfalse
leftStringfalse
rightStringfalse
alignStringfalse
justifyStringfalse
fullBooleanfalse

MIT © Jack Hanford