0.0.3 • Published 9 years ago

react-flexbox2 v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

react-flexbox2

React flexbox implementation similar to Polymer Layout Attributes.

Installation

npm install --save react-flexbox2

Usage

Similar to Polymer Layout Attributes

var React   = require('react');
var FlexBox = require('react-flexbox2');

module.exports = React.createClass({
    render: function(){
        return (
            <div layout horizontal justified>
                <div>One</div>
                <div>Two</div>
                <div>Three</div>
            </div>
        );
    }
});