React Component based on flexboxgrid
It is written in ES6 and requires an ES6 to ES5 transpiler. If there is need for it I can add a transpiled version to the repo.
Installation
npm install react-flexbox-grid
Pre-requisite
First, make sure you have flexboxgrid installed.
Then, import flexboxgrid in the entry-point of your application.
import 'flexboxgrid'
import React from 'react'
import Container from 'javascripts/container'
React.render(, document.querySelector('#main'))Usage
const {Grid, Row, Col} = require('react-flexbox-grid');
const App = React.createClass({
render() {
return (
Hello, world!
);
}
});License
MIT