Skip to content

Commit bfd35c1

Browse files
committed
feat(List.Item): Add class prop
1 parent ae03e35 commit bfd35c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mdc/List/Item.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ img {
3636

3737
<li
3838
bind:this={element}
39-
class="mdc-deprecated-list-item"
39+
class="mdc-deprecated-list-item {$$props.class}"
4040
class:mdc-deprecated-list-item--activated={activated}
4141
class:mdc-deprecated-list-item--disabled={nonInteractive}
4242
data-mdc-dialog-action={$$props['data-mdc-dialog-action']}

0 commit comments

Comments
 (0)