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
| Prop | Requerida | Tipo | Qué hace |
|---|---|---|---|
| prefix | opcional | ReactNode | Element rendered inside the input on the left (e.g. "$"). Adds pl-9 padding. |
| suffix | opcional | ReactNode | Element rendered inside the input on the right (e.g. "kg"). Adds pr-9 padding. |
| onChangeNumber | opcional | (value: number) => void | Fires alongside onChange with the parsed float value. Returns 0 for non-numeric input. |