We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is interest from users in having a helper to create their own polymorphic components using render.
render
https://www.radix-ui.com/primitives/docs/utilities/slot https://github.com/radix-ui/primitives/tree/main/packages/react/slot/src
It's quite a common need when creating a styled component library.
The text was updated successfully, but these errors were encountered:
Can I work on this? I prob will follow a similar implementation with radix. What do you think?
Sorry, something went wrong.
No branches or pull requests
Feature request
Summary
There is interest from users in having a helper to create their own polymorphic components using
render
.Examples in other libraries
https://www.radix-ui.com/primitives/docs/utilities/slot
https://github.com/radix-ui/primitives/tree/main/packages/react/slot/src
Motivation
It's quite a common need when creating a styled component library.
The text was updated successfully, but these errors were encountered: