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.

maxnumber

Maximum number that can be selected.

minnumber

Minimum number that can be selected.

onChange(newValue: number) => void

Called when incrementing/decrementing the value.

stepnumber

Specifies the size of each movement when incrementing/decrementing the value. Defaults to 1.

valuenumber

The current value of the stepper.