Wrapper

The MiniWizard component wrapper.

This is a compound component.

API

This component extends the native <div> API. That's why the className prop is not included in the table.

Props
Type
Required

children

ReactNode

selectedStep

string

heading

ReactNode

isOpen

boolean

onClose

() => void;

completedStepsBehavior

'resetAtClosing' | 'notResetingAtClosing'

children

The children in this case, because it is a compound component, should be the ones provided by this design system.

selectedStep

Controls the content, footer and selected step.

heading

The title of the MiniWizard.

isOpen

Used to control the open/closed state of the MiniWizard.

onClose

Function executed when the MiniWizard is closed.

completedStepsBehavior

The behavior the MiniWizard uses. Either resetting itself after closing, or keeping the state. Client side only.

Last updated