Last active
October 5, 2020 07:28
-
-
Save ting11222001/eb5a0cb0087769c50cc499daa3207e93 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
render(){ | |
return( | |
<div> | |
... | |
<form onSubmit={this.onSubmit}> | |
... | |
<div className="form-group"> | |
<label>Description: </label> | |
<input type="text" | |
required | |
className="form-control" | |
value={this.state.description} | |
onChange={this.onChangeDescription} | |
/> | |
</div> | |
... | |
</form> | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment