add grid system and style examples.jsx

This commit is contained in:
2017-01-17 01:24:37 -08:00
parent 02a7df11f9
commit 8595209afc
3 changed files with 23 additions and 9 deletions

View File

@@ -18,11 +18,14 @@ var Main = (props) => {
return (
<div>
<Nav/>
<h2>Main Component</h2>
{props.children}
<div className="row">
<div className="columns medium-6 large-4 small-centered">
{props.children}
</div>
</div>
</div>
);
};
}
module.exports = Main;