Saltar al contenido
El Muestrario

componente · @solu30/ui-kit/input

CellPrice

El componente, montado

Cargando el componente del paquete instalado…

Cargando el chunk del paquete instalado…

De dónde se importa

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

Props

8 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
initialstring | number | null
onSave(value: string | null) => void
onChangeopcional(value: string | null) => voidFires on every keystroke with the current raw value (for live preview).
onCloseopcional() => void
placeholderopcionalstring
autoFocusopcionalboolean
plainopcionalbooleanWhen true, renders without border/background at rest; shows border on hover/focus.
formatopcional"money""money" — focus-swap mode: shows es-AR currency format at rest (e.g. "$ 34.710"), switches to raw numeric string on focus (select-all), parses back on blur. Without this prop, original type=number behavior is preserved (retrocompat).