componente · @solu30/ui-kit/feedback
CommandInput
El componente, montado
Cargando el componente del paquete instalado…
Cargando el chunk del paquete instalado…
De dónde se importa
import { CommandInput } from '@solu30/ui-kit/feedback'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| placeholder | opcional | string | — |
| className | opcional | string | — |
| value | opcional | string | Controlled value for this input. When provided, the input is controlled and `onValueChange` should be supplied to handle updates. When omitted, the parent `Command` context manages the search value internally. |
| onValueChange | opcional | (v: string) => void | Called with the new string on every keystroke when `value` is provided. |
| id | opcional | string | id forwarded to the underlying <input>. Optional — lets a consumer pair an external <label htmlFor> or wire aria-activedescendant from a sibling listbox (ADR-143, added for @solu30/ui-kit Combobox). |
| onKeyDown | opcional | React__default.KeyboardEventHandler<HTMLInputElement> | Forwarded to the underlying <input>. Composed with the standalone Command kit's own convention (panel-level keydown, see Select.tsx) — most consumers should keep navigation on an ancestor and leave this unset; it exists for callers that need input-level interception. |