Skip to main content

Stepper

A stepper component
(code example)

Usage#

<Stepper/>

API#

accessibilityLabel#

Component accessibility label
string

disabled#

Disables interaction with the stepper
boolean

maxValue#

Maximum value
number

minValue#

Minimum value
number

onValueChange#

Value change callback function
(value: number, testID?: string) => void

small#

Renders a small sized Stepper
boolean

step#

The step to increase and decrease by (default is 1)
number

testID#

Test id for component
string

value#

Stepper value
number