package
React components based on grd.css
npm install react-grdGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
React components for making working with flexbox simple.
Based on and using styles from grd by 1000ch.
npm install react-grd --savehttp://tkh44.github.io/react-grd/
<Grid align='middle' justify='center'>
<Cell size='two'/>
<Cell size='fill'/>
<Cell size='seven'/>
</Grid>You don't need to use the Cell component if you you are just wanting to do basic alignment.
<Grid align='middle' justify='center'>
<div>This will behave according to Grid's props</div>
<div>This will behave according to Grid's props</div>
<div>This will behave according to Grid's props</div>
</Grid>