Type-safe polymorphic React components

ReactTypescript

https://phelipetls.github.io/posts/polymorphic-components-react-typescript

Instructive guide on how to setup polymorphic and type safe React components