react-flexbox2
v0.0.3
Published
React flexbox implementation similar to Polymer Layout Attributes.
Downloads
7
Readme
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>
);
}
});