summaryrefslogtreecommitdiff
path: root/frontend/src/lib/components/ui/select/select-separator.svelte
blob: aac5ca3b785dcda6a2a579974d601875a8ab3f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script lang="ts">
	import { Separator } from "$lib/components/ui/separator/index.js";
	import { cn } from "$lib/utils.js";
	import type { Separator as SeparatorPrimitive } from "bits-ui";

	let {
		ref = $bindable(null),
		class: className,
		...restProps
	}: SeparatorPrimitive.RootProps = $props();
</script>

<Separator
	bind:ref
	data-slot="select-separator"
	class={cn("bg-border/50 -mx-1 my-1 h-px pointer-events-none", className)}
	{...restProps}
/>