StepperField
View Source
Number input used to collect numeric information from users with increment/decrement buttons.
Props
Themeable
Accepts StackView props.
Use the stepperField
key in ThemeProvider
to customize the default properties of this component.
max
number
Maximum number that can be selected.
min
number
Minimum number that can be selected.
onChange
(newValue: number) => void
Called when incrementing/decrementing the value.
step
number
Specifies the size of each movement when incrementing/decrementing the value. Defaults to 1
.
value
number
The current value of the stepper.