Wizard
A wizard presents a series of steps in prescribed order. That the user needs to complete in order to accomplish a goal (e.g. purchase a product)
(code example)
note
Use Wizard with nested Wizard.Step(s) to achieve the desired result.
#
Usage<Wizard activeIndex={0} onActiveIndexChanged={() => console.log('changed')}> {_.map(items, item => ( return renderItem(item, index); ))}</Wizard>
#
API#
activeConfigThe configuration of the active step (see Wizard.Step.propTypes)
WizardStepProps
#
activeIndexThe active step's index
number
#
containerStyleAdd or override style of the container
ViewStyle
#
onActiveIndexChangedCallback that is called when the active step is changed (i.e. a step was clicked on). The new activeIndex will be the input of the callback
(index: number) => void
#
testIDThe component test id
string