Skip to content

Instantly share code, notes, and snippets.

@Chryus
Last active January 13, 2017 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Chryus/819251e6f4723e4d20414ff0e25921b4 to your computer and use it in GitHub Desktop.
Save Chryus/819251e6f4723e4d20414ff0e25921b4 to your computer and use it in GitHub Desktop.
function Prompt(props) {
return (
<h1>{this.props.route.header}</h1>
<div className="col-sm-12">
<form onSubmit={this.onSubmitUser}>
<div className="form-group">
<input
className="form-control"
placeholder="Github Username"
type="text"
onChange={this.onUpdateUser}
value={this.state.username} />
</div>
<div className="form-group col-sm-4 col-sm-offset-4">
<button
className="btn btn-block btn-success"
type="submit">
Continue
</button>
</div>
</form>
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment