19 lines
450 B
Svelte
19 lines
450 B
Svelte
<script lang="ts">
|
|
import { Separator } from "@/components/ui/separator/index.js";
|
|
import { cn } from "@/lib/utils.js";
|
|
import type { ComponentProps } from "svelte";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: ComponentProps<typeof Separator> = $props();
|
|
</script>
|
|
|
|
<Separator
|
|
bind:ref
|
|
data-slot="sidebar-separator"
|
|
data-sidebar="separator"
|
|
class={cn("bg-sidebar-border mx-2 w-auto", className)}
|
|
{...restProps}
|
|
/>
|