Skip to content

Instantly share code, notes, and snippets.

@Louiefigz
Created May 11, 2017 14:37
Show Gist options
  • Save Louiefigz/a89a8d53902b4f3375f9e7cdc8d858ee to your computer and use it in GitHub Desktop.
Save Louiefigz/a89a8d53902b4f3375f9e7cdc8d858ee to your computer and use it in GitHub Desktop.
import React, { Component } from 'react';
import { browserHistory } from 'react-router';
import '../css/Home.css';
import {Button, FormGroup, FormControl} from 'react-bootstrap';
class Home extends Component {
render() {
return (
<div className="Home">
<div className="Instructions">
<h1>Enter a City and State</h1>
<div className="Input">
<FormGroup bsSize="large">
<FormControl type="text" placeholder="New York, NY" />
</FormGroup>
</div>
<Button bsStyle="success" bsSize="large" >Get Weather</Button>
</div>
</div>
);
}
}
export default Home;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment