You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should be able to specify an as property on a component in a way that it's rendered using a different Primitive that it usually should use. For some reason, it's not possible to do this in some places.
The text was updated successfully, but these errors were encountered:
After a discussion, we found out that it's a problem specific to a project, probably due to the Typescript version.
I think we could try to update the TS version and try to reproduce (and eventually solve it).
seedy
changed the title
Can't specify 'as' property directly on Button component
[Button] Can't specify 'as' property directly on Button component
Jan 18, 2022
We should be able to specify an
as
property on a component in a way that it's rendered using a different Primitive that it usually should use. For some reason, it's not possible to do this in some places.The text was updated successfully, but these errors were encountered: