MCPcopy Create free account
hub / github.com/cosscom/coss / CommandInput

Function CommandInput

packages/ui/src/components/command.tsx:114–134  ·  view source on GitHub ↗
({
  className,
  placeholder = undefined,
  ...props
}: React.ComponentProps<typeof AutocompleteInput>)

Source from the content-addressed store, hash-verified

112}
113
114export function CommandInput({
115 className,
116 placeholder = undefined,
117 ...props
118}: React.ComponentProps<typeof AutocompleteInput>): React.ReactElement {
119 return (
120 <div className="px-2.5 py-1.5">
121 <AutocompleteInput
122 autoFocus
123 className={cn(
124 "border-transparent! bg-transparent! shadow-none before:hidden has-focus-visible:ring-0",
125 className,
126 )}
127 placeholder={placeholder}
128 size="lg"
129 startAddon={<SearchIcon />}
130 {...props}
131 />
132 </div>
133 );
134}
135
136export function CommandList({
137 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected