Created
June 23, 2019 22:24
-
-
Save jsmanifest/615ce49e4e3f2c94a84fe938933896ab 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
| import React, { useState } from 'react' | |
| const App = () => { | |
| const [name, setName] = useState('') | |
| const [gender, setGender] = useState('Male') | |
| const onNameChange = (e) => setName(e.target.value) | |
| const onGenderChange = (e) => setGender(e.target.value) | |
| return <div /> | |
| } | |
| export default App |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment