🐛(react) disable button link

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`.
This commit is contained in:
jbpenrath
2025-08-06 17:01:30 +02:00
committed by Jean-Baptiste PENRATH
parent d976c6f51c
commit 8e049bc21e
5 changed files with 30 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@openfun/cunningham-react": patch
---
Apply disable style to disabled button link