style: convert add topic into shadcn combobox

This commit is contained in:
2025-01-22 02:48:28 +01:00
parent c56ad08647
commit 7ed1ab5632
27 changed files with 543 additions and 34 deletions

View File

@@ -0,0 +1,12 @@
<script lang="ts">
import { Command as CommandPrimitive } from "cmdk-sv";
import { cn } from "$lib/utils.js";
type $$Props = CommandPrimitive.EmptyProps;
let className: string | undefined | null = undefined;
export { className as class };
</script>
<CommandPrimitive.Empty class={cn("py-6 text-center text-sm", className)} {...$$restProps}>
<slot />
</CommandPrimitive.Empty>