DEV Community

loading...

Discussion on: React Typescript Cheatsheet

Collapse
bendman profile image
Ben Duncan Author

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.