Last active
February 16, 2019 10:53
-
-
Save Kornil/cfebfd7784a4a7a6b15c5f4b90eb3619 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
const Hello = () => { | |
const [inputValue, setInputValue] = React.useState(''); | |
return ( | |
<input | |
onChange={(e) => setInputValue(e.target.value)} | |
value={inputValue} | |
/> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment