Thanks for these! The React.ComponentProps<typeof Component> looks especially useful for passing props down without needing to import the Props interface of the child component.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for these! The
React.ComponentProps<typeof Component>
looks especially useful for passing props down without needing to import the Props interface of the child component.