Interface: WizardProps
Defined in: types.ts:39
Props for the Wizard component.
Properties
allowStepClick?
optionalallowStepClick:boolean
Defined in: types.ts:69
Allow clicking on completed steps to navigate back. Defaults to true.
initialStep?
optionalinitialStep:number
Defined in: types.ts:64
The initially active step index. Defaults to 0.
layout?
optionallayout:WizardLayout
Defined in: types.ts:47
Position of the step list. Defaults to 'top'.
onCancel()?
optionalonCancel: () =>void
Defined in: types.ts:56
Called when the user clicks "Cancel". If not provided, the Cancel button is not rendered.
Returns
void
onComplete()?
optionalonComplete: () =>void
Defined in: types.ts:51
Called when the wizard completes (user clicks "Finish" on the last step).
Returns
void
onStepChange()?
optionalonStepChange: (params) =>void
Defined in: types.ts:60
Called whenever the active step changes.
Parameters
params
stepIndex
number
Returns
void
steps
steps:
WizardStep[]
Defined in: types.ts:43
Array of steps to display in the wizard.