Skip to content

Instantly share code, notes, and snippets.

@jrwebdev
Last active February 13, 2019 06:45
Show Gist options
  • Save jrwebdev/69e02ef9b5d75847483f79f0867c5c46 to your computer and use it in GitHub Desktop.
Save jrwebdev/69e02ef9b5d75847483f79f0867c5c46 to your computer and use it in GitHub Desktop.
const MyInput = () => {
const inputRef = useRef<HTMLInputElement>(null);
return <input ref={inputRef} />
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment