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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
if you wrap Link with other
a
elements you will get:I 'component' prop could be amazing:
but looking at the source code a can see that currently 'a' is hard coded in the type:
and the host component can be overwritten in runtime with the undocumented

_asChild
prop:it can work for now as workaround, but this is quite annoying
My workaround
for now, this is the workaround component I'm using
with exact improved typing:
Beta Was this translation helpful? Give feedback.
All reactions