InputNumber
Числовое поле с ограничениями, кнопками шага и общей композицией label/validation.
Использование
Введите количество
Валидация
API
| Проп | Тип | По умолчанию | Описание |
|---|---|---|---|
step | number | — | — |
value | number | null | — | — |
defaultValue | number | null | — | — |
onValueChange | (value: number | null) => void | — | — |
label | ReactNode | — | — |
description | ReactNode | — | — |
validationMessage | ReactNode | — | — |
validationStatus | "default" | "success" | "error" | default | — |
incrementLabel | string | Увеличить | — |
decrementLabel | string | Уменьшить | — |
Last updated on