Add effect because I coldn't resist

This commit is contained in:
2024-12-17 20:29:52 +01:00
parent 80c574dfd6
commit 555a24dbe5
12 changed files with 445 additions and 119 deletions

View File

@@ -92,7 +92,7 @@ const DropdownMenuCheckboxItem = forwardRef<
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-stone-100 focus:text-stone-900 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:focus:bg-stone-800 dark:focus:text-stone-50",
className
)}
checked={checked}
{...(checked !== undefined) ? { checked } : undefined}
{...props}
>
<span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">