Skip to content

Instantly share code, notes, and snippets.

@koss-lebedev
Created October 23, 2022 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koss-lebedev/84ad5f6c3ca359c3d1e4abe4df97c5d2 to your computer and use it in GitHub Desktop.
Save koss-lebedev/84ad5f6c3ca359c3d1e4abe4df97c5d2 to your computer and use it in GitHub Desktop.
type Props = InputHTMLAttributes<HTMLInputElement>
const CustomInput = (props: Props) => {
// ...some additional logic
return <input {...props} />
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment