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