Skip to main content

Interface: WizardStep

Defined in: types.ts:18

Definition of a single wizard step.

Properties

content

content: ReactNode

Defined in: types.ts:30

The content rendered when this step is active.


description?

optional description?: string

Defined in: types.ts:26

Optional description displayed below the title in the step list.


onNext?

optional onNext?: () => boolean | Promise<boolean>

Defined in: types.ts:35

Called when the user clicks "Next". If it returns false or a Promise that resolves to false, the wizard will not advance.

Returns

boolean | Promise<boolean>


title

title: string

Defined in: types.ts:22

Title displayed in the step list.