Open cowglow opened 2 years ago
When the <Button> component has an href property, the disable props doesn't work.
<Button>
href
disable
<Button href="path-to-route.html" disabled>Disabled Button</Button>
Thanks @cowglow Hmm that's an interesting one - a tags don't have a disabled attribute, so we could either not forward the href when disabled, or add some JS to eat the click event.
When the
<Button>
component has anhref
property, thedisable
props doesn't work.