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:
13
app/components/WeatherMessage.jsx
Normal file
13
app/components/WeatherMessage.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
var React = require('react');
|
||||
|
||||
var WeatherMessage = React.createClass({
|
||||
render: function () {
|
||||
var {temp, location} = this.props;
|
||||
|
||||
return (
|
||||
<h3>It's it {temp} in {location}.</h3>
|
||||
)
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = WeatherMessage;
|
||||
Reference in New Issue
Block a user