Saltar al contenido
El Muestrario

componente · @solu30/ui-kit/input

Input

El componente, montado

Cargando el espécimen…

Cargando el chunk del paquete instalado…

De dónde se importa

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

Props

3 props declaradas en los tipos de la versión instalada.
PropRequeridaTipoQué hace
prefixopcionalReactNodeElement rendered inside the input on the left (e.g. "$"). Adds pl-9 padding.
suffixopcionalReactNodeElement rendered inside the input on the right (e.g. "kg"). Adds pr-9 padding.
onChangeNumberopcional(value: number) => voidFires alongside onChange with the parsed float value. Returns 0 for non-numeric input.