componente · @solu30/ui-kit/input
InlineText
El componente, montado
Cargando el espécimen…
Cargando el chunk del paquete instalado…
De dónde se importa
import { InlineText } from '@solu30/ui-kit/input'Props
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| value | sí | string | Current text value |
| onSave | sí | (value: string) => void | Promise<void> | Called with the trimmed new value when the user commits |
| placeholder | opcional | string | Placeholder shown in display mode when value is empty |
| multiline | opcional | boolean | When true renders a Textarea instead of an Input |
| className | opcional | string | Extra class names applied to the outer wrapper |
| disabled | opcional | boolean | Disables interaction entirely |
| emptyText | opcional | string | Text shown when value is empty in display mode (defaults to placeholder or "—") |