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

17 lines
367 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.EmptyProps = $props();
</script>
<CommandPrimitive.Empty
bind:ref
data-slot="command-empty"
class={cn("py-6 text-center text-sm", className)}
{...restProps}
/>