Files
trevstack/client/src/lib/ui/dropdown-menu/dropdown-menu-separator.svelte
2025-05-13 17:19:12 -04:00

18 lines
408 B
Svelte

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