Saltar al contenido
El Muestrario

componente · @solu30/ui-kit/feedback

Command

El componente, montado

Cargando el componente del paquete instalado…

Cargando el chunk del paquete instalado…

De dónde se importa

import { Command } from '@solu30/ui-kit/feedback'

Props

4 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
childrenReactNode
classNameopcionalstring
valueopcionalstringControlled search value. When provided, `Command` delegates state ownership to the consumer; pair with `onValueChange` to update it. When omitted, `Command` manages search state internally (existing behaviour — fully backward-compatible).
onValueChangeopcional(v: string) => voidCalled with the new search string whenever the input changes. Required when `value` is provided; no-op when omitted.