mirror of
https://github.com/Raghu-Ch/ReactWeather.git
synced 2026-02-10 11:03:02 -05:00
Initial commit React Weather App
This commit is contained in:
17
app/components/Main.jsx
Normal file
17
app/components/Main.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
var React = require('react');
|
||||
var Nav = require('Nav');
|
||||
|
||||
var Main = React.createClass({
|
||||
render: function () {
|
||||
return (
|
||||
<div>
|
||||
<Nav/>
|
||||
<h2>Main Component</h2>
|
||||
{this.props.children}
|
||||
</div>
|
||||
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = Main;
|
||||
Reference in New Issue
Block a user