Saltar al contenido
El Muestrario

componente · @solu30/ui-kit/input

InlineEditText

El componente, montado

Cargando el componente del paquete instalado…

Cargando el chunk del paquete instalado…

De dónde se importa

import { InlineEditText } from '@solu30/ui-kit/input'

Props

5 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
valuestringCurrent text value
onSave(next: string) => void | Promise<void>Called with the trimmed new value when the user commits (sync or async)
placeholderopcionalstringPlaceholder shown inside the input while editing
editTooltipopcionalstringTooltip / aria-label for the edit trigger button
classNameopcionalstringExtra class names applied to the outer wrapper