Function
CommandInput
({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Input>)
Source from the content-addressed store, hash-verified
| 61 | } |
| 62 | |
| 63 | function CommandInput({ |
| 64 | className, |
| 65 | ...props |
| 66 | }: React.ComponentProps<typeof CommandPrimitive.Input>) { |
| 67 | return ( |
| 68 | <div |
| 69 | data-slot="command-input-wrapper" |
| 70 | className="flex h-9 items-center gap-2 border-b px-3" |
| 71 | > |
| 72 | <SearchIcon className="size-4 shrink-0 opacity-50" /> |
| 73 | <CommandPrimitive.Input |
| 74 | data-slot="command-input" |
| 75 | className={cn( |
| 76 | "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", |
| 77 | className |
| 78 | )} |
| 79 | {...props} |
| 80 | /> |
| 81 | </div> |
| 82 | ) |
| 83 | } |
| 84 | |
| 85 | function CommandList({ |
| 86 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected