File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ <script lang =" ts" >
2+ import { DropdownMenu as DropdownMenuPrimitive } from " bits-ui" ;
3+
4+ let {
5+ ref = $bindable (null ),
6+ value = $bindable (),
7+ ... restProps
8+ }: DropdownMenuPrimitive .CheckboxGroupProps = $props ();
9+ </script >
10+
11+ <DropdownMenuPrimitive .CheckboxGroup
12+ bind:ref
13+ bind:value
14+ data-slot =" dropdown-menu-checkbox-group"
15+ {...restProps }
16+ />
Original file line number Diff line number Diff line change 11import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui" ;
2+ import CheckboxGroup from "./dropdown-menu-checkbox-group.svelte" ;
23import CheckboxItem from "./dropdown-menu-checkbox-item.svelte" ;
34import Content from "./dropdown-menu-content.svelte" ;
45import Group from "./dropdown-menu-group.svelte" ;
@@ -16,9 +17,11 @@ const Sub = DropdownMenuPrimitive.Sub;
1617const Root = DropdownMenuPrimitive . Root ;
1718
1819export {
20+ CheckboxGroup ,
1921 CheckboxItem ,
2022 Content ,
2123 Root as DropdownMenu ,
24+ CheckboxGroup as DropdownMenuCheckboxGroup ,
2225 CheckboxItem as DropdownMenuCheckboxItem ,
2326 Content as DropdownMenuContent ,
2427 Group as DropdownMenuGroup ,
You can’t perform that action at this time.
0 commit comments