diff --git a/packages/materialdesign-components/src/List/List.svelte b/packages/materialdesign-components/src/List/List.svelte index ddfb208119..61e19b030c 100644 --- a/packages/materialdesign-components/src/List/List.svelte +++ b/packages/materialdesign-components/src/List/List.svelte @@ -1,59 +1,59 @@
@@ -63,5 +63,8 @@ {useDoubleLine} {inputElement} onClick={() => handleSelectedItem(item)} /> + {#if item.divider} +
diff --git a/packages/materialdesign-components/src/Test/props.js b/packages/materialdesign-components/src/Test/props.js index d199d7ff67..852a845ad6 100644 --- a/packages/materialdesign-components/src/Test/props.js +++ b/packages/materialdesign-components/src/Test/props.js @@ -112,11 +112,11 @@ export const props = { { text: { primary: "Curry", secondary: "Chicken or Beef" }, value: 0, + divider: true, }, { text: { primary: "Pastie", secondary: "Bap with Mayo" }, value: 1, - selected: true, }, { text: { primary: "Fish", secondary: "Salmon or Cod" }, value: 2 }, ],