mirror of
https://github.com/Raghu-Ch/ReactWeather.git
synced 2026-02-10 11:03:02 -05:00
add grid system and style examples.jsx
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user