[Feature Request] Support polymorphic components #381
MichaelODeli
started this conversation in
Ideas
Replies: 2 comments
-
Thanks for your suggestion! I'll update the issue as a feature request to support polymorphic components. It's a nice feature in the upstream Mantine library and it applies to several components, not just the Button. This will be a major project, so in the meantine you can add the dmc.Anchor(dmc.Button("link"), href="https://google.com") |
Beta Was this translation helpful? Give feedback.
0 replies
-
This needs more discussion about how (and if) this should be handled. Converting to a Discussion until there are more concrete plans. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I noticed that the
dmc.Button
component lacks thehref
parameter, which will allow you to open links by clicking on this button.In Mantine docs this feature is figured as polymorphic component.
Yes, there is a
dmc.Anchor
component for opening links, but in the body of my application it looks a little out of place.Beta Was this translation helpful? Give feedback.
All reactions