mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
* fix(button): only set disabled attribute if true #755 Fixes #755 * Improve docs (#756) * docs: remove Theme from new components * docs: add styling instructions * docs: add styling instructions * docs: update copy * fix(button): only set disabled attribute if true #755 Fixes #755 * docs(button): use inline notification for note [ci skip]
This commit is contained in:
parent
13bd64e5c9
commit
793ecd8dc2
2 changed files with 16 additions and 3 deletions
|
@ -95,7 +95,7 @@
|
|||
$: buttonProps = {
|
||||
type: href && !disabled ? undefined : type,
|
||||
tabindex,
|
||||
disabled,
|
||||
disabled: disabled === true ? true : undefined,
|
||||
href,
|
||||
"aria-pressed": hasIconOnly && kind === "ghost" ? isSelected : undefined,
|
||||
...$$restProps,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue