mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
refactor: prefer class directive over class attribute (#1318)
This commit is contained in:
parent
40e18fbc88
commit
0801e1d078
9 changed files with 34 additions and 18 deletions
|
@ -231,7 +231,7 @@
|
|||
translateWithId="{translateWithId}"
|
||||
id="{id}"
|
||||
>
|
||||
<span class="bx--list-box__label">
|
||||
<span class:bx--list-box__label="{true}">
|
||||
{#if selectedItem}{itemToString(selectedItem)}{:else}{label}{/if}
|
||||
</span>
|
||||
<ListBoxMenuIcon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue