MCPcopy Create free account
hub / github.com/Railly/tinte / CommandInput

Function CommandInput

apps/web/src/components/ui/command.tsx:62–82  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<typeof CommandPrimitive.Input>)

Source from the content-addressed store, hash-verified

60}
61
62function CommandInput({
63 className,
64 ...props
65}: React.ComponentProps<typeof CommandPrimitive.Input>) {
66 return (
67 <div
68 data-slot="command-input-wrapper"
69 className="flex h-9 items-center gap-2 border-b px-3"
70 >
71 <SearchIcon className="size-4 shrink-0 opacity-50" />
72 <CommandPrimitive.Input
73 data-slot="command-input"
74 className={cn(
75 "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",
76 className,
77 )}
78 {...props}
79 />
80 </div>
81 );
82}
83
84function CommandList({
85 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected