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`.
6 lines
88 B
Markdown
6 lines
88 B
Markdown
---
|
|
"@openfun/cunningham-react": patch
|
|
---
|
|
|
|
Apply disable style to disabled button link
|