mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
parent
acf8a26290
commit
da1950883d
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@
|
||||||
tabindex,
|
tabindex,
|
||||||
disabled: disabled === true ? true : undefined,
|
disabled: disabled === true ? true : undefined,
|
||||||
href,
|
href,
|
||||||
"aria-pressed": hasIconOnly && kind === "ghost" ? isSelected : undefined,
|
"aria-pressed":
|
||||||
|
hasIconOnly && kind === "ghost" && !href ? isSelected : undefined,
|
||||||
...$$restProps,
|
...$$restProps,
|
||||||
class: [
|
class: [
|
||||||
"bx--btn",
|
"bx--btn",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue