Browse Source

Merge pull request #232 from Hunter275/pr-177-duplicate

DUPLICATE: Support for cmdk v1.0.0
pull/233/head
Ben Meadors 2 years ago
committed by GitHub
parent
commit
9d2084bd3a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/components/UI/Command.tsx

2
src/components/UI/Command.tsx

@ -116,7 +116,7 @@ const CommandItem = React.forwardRef<
<CommandPrimitive.Item
ref={ref}
className={cn(
"relative flex cursor-default select-none items-center rounded-md py-1.5 px-2 text-sm font-medium outline-none aria-selected:bg-slate-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:aria-selected:bg-slate-700",
"relative flex cursor-default select-none items-center rounded-md py-1.5 px-2 text-sm font-medium outline-none aria-selected:bg-slate-100 data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50 dark:aria-selected:bg-slate-700",
className,
)}
{...props}

Loading…
Cancel
Save