Files
os.semilabs.org/src/lib/components/ui/select/select-group.svelte
T
sisungo d5a4a2a4da initial commit
Signed-off-by: sisungo <[email protected]>
2026-08-07 16:25:11 +08:00

18 lines
356 B
Svelte

<script lang="ts">
import { Select as SelectPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: SelectPrimitive.GroupProps = $props();
</script>
<SelectPrimitive.Group
bind:ref
data-slot="select-group"
class={cn("scroll-my-1.5 p-1.5", className)}
{...restProps}
/>