Created
January 26, 2018 14:41
-
-
Save bad6e/22a43b719f7475e2762f1b4198939c16 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
onChange = (event) => { | |
const { target: { name, value } } = event | |
this.setState({ [name]: value, event: event }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment