Saltar al contenido
El Muestrario

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

6 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
placeholderopcionalstring
classNameopcionalstring
valueopcionalstringControlled 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.
onValueChangeopcional(v: string) => voidCalled with the new string on every keystroke when `value` is provided.
idopcionalstringid 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).
onKeyDownopcionalReact__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.