Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Button component should be able to act as a link #156

Open
pleek91 opened this issue Jan 4, 2022 · 0 comments
Open

Button component should be able to act as a link #156

pleek91 opened this issue Jan 4, 2022 · 0 comments

Comments

@pleek91
Copy link
Collaborator

pleek91 commented Jan 4, 2022

Currently we're unable to use the MButton component as a link (to an external page for instance). We'll need to add a prop (href?) to the component that changes it into an anchor tag (with all the same styling as the button). Bonus would be to add an additional to prop so it could also function as a router-link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant