flbxcup/resources/js/components/ui/select/select-separator.svelte
2025-06-23 23:12:40 +02:00

18 lines
453 B
Svelte

<script lang="ts">
import type { Separator as SeparatorPrimitive } from "bits-ui";
import { Separator } from "@/components/ui/separator/index.js";
import { cn } from "@/lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: SeparatorPrimitive.RootProps = $props();
</script>
<Separator
bind:ref
data-slot="select-separator"
class={cn("bg-border pointer-events-none -mx-1 my-1 h-px", className)}
{...restProps}
/>