-
Notifications
You must be signed in to change notification settings - Fork 177
[Question]: Is there any alternative to @radix-ui/react-polymorphic? #358
Comments
We have deprecated the polymorphic package in favour of the |
Thanks for the reply @benoitgrelard ! |
Absolutely! Sorry I should have sent that in the first place. https://www.radix-ui.com/docs/primitives/overview/styling#changing-the-rendered-element Basically we moved away from the |
@benoitgrelard will test here today and then I'll tell you something later :) Thanks a lot! |
In our design system (storybook), without the Polymorphic, called as:
We're losing the "autocomplete" for the component when we import it somewhere.
We want to remove the Polymorphic and use some native alternative from react...
what do you suggest?
Currently, when we remove the Polymorthic we really loose the autocomplete, the props that the component can receive ...
e.g:
after button, when I do command + space do not show the possible props to use... if we remove the Polymorthic usage.
The text was updated successfully, but these errors were encountered: