Skip to content

Commit c6df907

Browse files
committed
fix: checkbox lists
1 parent d0987ca commit c6df907

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

packages/list/List.svelte

+16-2
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,25 @@
8787
export let singleSelection = false;
8888
export let selectedIndex = null;
8989
export let radioList = false;
90-
export { radioList as radiolist };
9190
export let checkList = false;
92-
export { checkList as checklist };
9391
export let hasTypeahead = false;
9492
93+
/**
94+
* @deprecated
95+
*/
96+
export let radiolist = false;
97+
if (radiolist) {
98+
radioList = true;
99+
}
100+
101+
/**
102+
* @deprecated
103+
*/
104+
export let checklist = false;
105+
if (checklist) {
106+
checkList = true;
107+
}
108+
95109
$: props = exclude($$props, [
96110
'use',
97111
'class',

0 commit comments

Comments
 (0)