@davidwells/components-flex
v1.2.2
Published
React Flex Component
Downloads
6
Readme
Flex
Flex component
Install
npm install --save @davidwells/components-flex
Usage
import React, { Component } from 'react'
import { Flex, Column, Row } from '@davidwells/components-flex'
import '@davidwells/components-flex/dist/index.css'
class Example extends Component {
render() {
return (
<Column isFullScreen>
<Row auto>
<div>one</div>
<div>two</div>
<div>three</div>
</Row>
<Column auto>
<span>hi</span>
<span>hi</span>
<span>hi</span>
<Row>
<span>hi</span>
<span>hi</span>
<span>hi</span>
</Row>
</Column>
</Column>
)
}
}
License
MIT © DavidWells
Alt libs
- https://github.com/christiankaindl/LYTS
- https://github.com/LinusU/react-stacked
- https://github.com/tomkp/react-split-pane
- https://github.com/caplin/FlexLayout