Function
CommandInput
({
className,
placeholder = undefined,
...props
}: React.ComponentProps<typeof AutocompleteInput>)
Source from the content-addressed store, hash-verified
| 112 | } |
| 113 | |
| 114 | export 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 | |
| 136 | export function CommandList({ |
| 137 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected