A wrapper around React.forwardRef() that allows HTML attributes and prop types to be derived from the "as" prop.
-
Updated
Jan 6, 2023 - TypeScript
A wrapper around React.forwardRef() that allows HTML attributes and prop types to be derived from the "as" prop.
Add a description, image, and links to the polymorphic-component topic page so that developers can more easily learn about it.
To associate your repository with the polymorphic-component topic, visit your repo's landing page and select "manage topics."