-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Copy link
Labels
Milestone
Description
Is your feature request related to a problem? Please describe.
This is how I am using the standard button to behave like an anchor:
<a
href={reward.link.url}
target="_blank"
rel="noopener noreferrer"
className={styles.link}
>
<TapButton variant="ghost" >
some text
</TapButton>
</a>I noticed that it can be used as an anchor as well by simply passing the href prop to it. But the problem is that, apart from target, I need to set other anchor attributes such as rel, But I can not as the property is not supported.
Describe the solution you'd like
I have two vague solutions on mind. Either defining all of the props of the a element for the standard button or creating another component that is exactly an anchor but supports all of the button skins.
Describe alternatives you've considered
Additional context
Reactions are currently unavailable