18 lines
374 B
Svelte
18 lines
374 B
Svelte
<script lang="ts">
|
|
import { Command as CommandPrimitive } from 'bits-ui';
|
|
import { cn } from '$lib/utils.js';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: CommandPrimitive.SeparatorProps = $props();
|
|
</script>
|
|
|
|
<CommandPrimitive.Separator
|
|
bind:ref
|
|
data-slot="command-separator"
|
|
class={cn('-mx-1 h-px bg-border', className)}
|
|
{...restProps}
|
|
/>
|