Interface: RsWizardProps
Props for the RsWizard component.
Extends
PropsWithChildren<any>
Indexable
[
key:string]:any
Properties
activeIndex?
optionalactiveIndex?:number
Active step index.
finishButtonLabel?
optionalfinishButtonLabel?:string
Label for finish button.
nextButtonLabel?
optionalnextButtonLabel?:string
Label for next button.
onChange?
optionalonChange?: (activeIndex?) =>void
Callback when step changes.
Parameters
activeIndex?
number
Returns
void
onFinish?
optionalonFinish?: (event) =>void
Callback when finish button is clicked.
Parameters
event
SyntheticEvent
Returns
void
onNext?
optionalonNext?: (event) =>void
Callback when next button is clicked.
Parameters
event
SyntheticEvent
Returns
void
onPrev?
optionalonPrev?: (event) =>void
Callback when previous button is clicked.
Parameters
event
SyntheticEvent
Returns
void
prevButtonLabel?
optionalprevButtonLabel?:string
Label for previous button.
showSteps?
optionalshowSteps?:boolean
Whether to show steps.
showStepsLabels?
optionalshowStepsLabels?:boolean
Whether to show step labels.
stepsNavigation?
optionalstepsNavigation?:"any"|"disable"|"onlyVisited"
Navigation mode for steps.
validateOnFinish?
optionalvalidateOnFinish?:boolean
Whether to validate on finish.
validateOnNext?
optionalvalidateOnNext?:boolean
Whether to validate on next.
verticalSteps?
optionalverticalSteps?:boolean
Whether steps are vertical.