♻️ refactor multi select components

This commit is contained in:
Fred KISSIE
2026-04-29 05:19:36 +02:00
parent 1bc7175dd4
commit 85f2165a1e
5 changed files with 40 additions and 25 deletions

View File

@@ -96,12 +96,13 @@ function CommandList({
}
function CommandEmpty({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Empty>) {
return (
<CommandPrimitive.Empty
data-slot="command-empty"
className="py-6 text-center text-sm"
className={cn("py-6 text-center text-sm", className)}
{...props}
/>
);