According to its prop, the Button component can be rendered as a link but in this case, the prop `disabled` has no effect. So to fix that if the Button receives a `href` prop and is disabled, we apply a modifier class `.c__button--disabled`.
88 B
88 B
@openfun/cunningham-react
| @openfun/cunningham-react |
|---|
| patch |
Apply disable style to disabled button link