Created
November 28, 2017 04:56
-
-
Save gaperton/f88a5b4a3379ec1b63c4cf0f85fba0b8 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
<label> Name: | |
<input type="text" | |
value={ state.name } | |
onChange={ e => this.setState({ name : e.target.value }) }/> | |
</label> | |
<label> Email: | |
<input type="text" | |
value={ state.email } | |
onChange={ e => this.setState({ email : e.target.value }) }/> | |
</label> | |
<label> Is active: | |
<input type="checkbox" | |
checked={ state.isActive } | |
onChange={ e => this.setState({ isActive : e.target.checked }) }/> | |
</label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment