Skip to main content

Interface: WizardStep

Defined in: types.ts:16

Definition of a single wizard step.

Properties

content

content: ReactNode

Defined in: types.ts:28

The content rendered when this step is active.


description?

optional description: string

Defined in: types.ts:24

Optional description displayed below the title in the step list.


onNext()?

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

Defined in: types.ts:33

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:20

Title displayed in the step list.