react-grd
React components for making working with flexbox simple.
Based on and using styles from grd by 1000ch.
Install
npm install react-grd --save
Demo
http://tkh44.github.io/react-grd/
Examples
<Grid ='middle' ='center'> <Cell ='two'/> <Cell ='fill'/> <Cell ='seven'/></Grid>
You don't need to use the Cell component if you you are just wanting to do basic alignment.
<Grid ='middle' ='center'> <div>This will behave according to props</div> <div>This will behave according to props</div> <div>This will behave according to props</div></Grid>