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

17 lines
380 B
Svelte

<script lang="ts">
import { Menubar as MenubarPrimitive } from "bits-ui";
import { cn } from "@/lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: MenubarPrimitive.SeparatorProps = $props();
</script>
<MenubarPrimitive.Separator
bind:ref
data-slot="menubar-separator"
class={cn("bg-border -mx-1 my-1 h-px", className)}
{...restProps}
/>