added svelte-shadcn
This commit is contained in:
12
src/lib/components/ui/command/command-separator.svelte
Normal file
12
src/lib/components/ui/command/command-separator.svelte
Normal file
@@ -0,0 +1,12 @@
|
||||
<script lang="ts">
|
||||
import { Command as CommandPrimitive } from 'cmdk-sv';
|
||||
import { cn } from '$lib/utils';
|
||||
|
||||
type $$Props = CommandPrimitive.SeparatorProps;
|
||||
let className: string | undefined | null = undefined;
|
||||
export { className as class };
|
||||
</script>
|
||||
|
||||
<CommandPrimitive.Separator
|
||||
class={cn('-mx-1 h-px bg-border', className)}
|
||||
{...$$restProps} />
|
||||
Reference in New Issue
Block a user