Last active
February 27, 2021 03:15
-
-
Save JaysonChiang/250482e3ea7cfa1bb4d386f48a1aec0e 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
const EventComponent = () => { | |
const onChange = (event) => { | |
console.log(event); | |
}; | |
return ( | |
<div> | |
<input onChange={onChange} /> | |
</div> | |
); | |
}; | |
export default EventComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment