Created
October 23, 2022 07:18
-
-
Save koss-lebedev/cf732f34aeffda4dffebe925c58a93e5 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
type Props = { value: string; onChange: () => void } | |
const CustomInput = ({ value, onChange }: Props) => { | |
// ...some additional logic | |
return <input value={value} onChange={onChange} /> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment