Files
pocket-id/frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-separator.svelte

15 lines
378 B
Svelte
Raw Normal View History

2024-08-12 11:00:25 +02:00
<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
import { cn } from "$lib/utils/style.js";
type $$Props = DropdownMenuPrimitive.SeparatorProps;
let className: $$Props["class"] = undefined;
export { className as class };
</script>
<DropdownMenuPrimitive.Separator
class={cn("-mx-1 my-1 h-px bg-muted", className)}
{...$$restProps}
/>