Last active
January 13, 2017 16:52
-
-
Save Chryus/819251e6f4723e4d20414ff0e25921b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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