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
Similar to how we support the concept of a LinkWrapper in our Link component, we need the same concept in the Button component.
Sometimes something should visually look like a button but also be a link. We support that right now with the isLink prop on Button, however it does not cover the case where you need to use a special Link component (from Gatsby, Next, React Router, etc.).
We have a less than ideal workaround for this now, which is to put a Button inside of a Link, but the LinkWrapper solution discussed here is more ideal and accessible per #34 .
The text was updated successfully, but these errors were encountered:
Similar to how we support the concept of a
LinkWrapper
in ourLink
component, we need the same concept in theButton
component.Sometimes something should visually look like a button but also be a link. We support that right now with the
isLink
prop onButton
, however it does not cover the case where you need to use a special Link component (from Gatsby, Next, React Router, etc.).We have a less than ideal workaround for this now, which is to put a
Button
inside of aLink
, but theLinkWrapper
solution discussed here is more ideal and accessible per #34 .The text was updated successfully, but these errors were encountered: