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
numberMaximum number that can be selected.
min
numberMinimum number that can be selected.
onChange
(newValue: number) => voidCalled when incrementing/decrementing the value.
step
numberSpecifies the size of each movement when incrementing/decrementing the value. Defaults to 1.
value
numberThe current value of the stepper.