Files
gpx.studio/website/src/lib/components/ui/select/select-separator.svelte

19 lines
455 B
Svelte
Raw Normal View History

2024-04-22 19:36:31 +02:00
<script lang="ts">
2025-06-08 16:32:41 +02:00
import type { Separator as SeparatorPrimitive } from "bits-ui";
import { Separator } from "$lib/components/ui/separator/index.js";
2024-04-22 19:36:31 +02:00
import { cn } from "$lib/utils.js";
2025-06-08 16:32:41 +02:00
let {
ref = $bindable(null),
class: className,
...restProps
}: SeparatorPrimitive.RootProps = $props();
2024-04-22 19:36:31 +02:00
</script>
2025-06-21 21:07:36 +02:00
<Separator
bind:ref
data-slot="select-separator"
class={cn("bg-border pointer-events-none -mx-1 my-1 h-px", className)}
{...restProps}
/>