Function
CommandInput
({
className,
...props
}: React.ComponentProps<typeof CommandPrimitive.Input>)
Source from the content-addressed store, hash-verified
| 59 | } |
| 60 | |
| 61 | function CommandInput({ |
| 62 | className, |
| 63 | ...props |
| 64 | }: React.ComponentProps<typeof CommandPrimitive.Input>) { |
| 65 | return ( |
| 66 | <div |
| 67 | data-slot="command-input-wrapper" |
| 68 | className="flex h-9 items-center gap-2 border-b px-3" |
| 69 | > |
| 70 | <SearchIcon className="size-4 shrink-0 opacity-50" /> |
| 71 | <CommandPrimitive.Input |
| 72 | data-slot="command-input" |
| 73 | className={cn( |
| 74 | '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', |
| 75 | className, |
| 76 | )} |
| 77 | {...props} |
| 78 | /> |
| 79 | </div> |
| 80 | ); |
| 81 | } |
| 82 | |
| 83 | function CommandList({ |
| 84 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected