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.
To associate your repository with the polymorphic-component topic, visit your repo's landing page and select "manage topics."