Skip to content

Wizard

Wizard

jsx
import Wizard from 'intergalactic/wizard';
<Wizard />;
import Wizard from 'intergalactic/wizard';
<Wizard />;

WizardProps

& {...}
NameTypeDescription
step Active step value

Wizard.Sidebar

jsx
import Wizard from 'intergalactic/wizard';
<Wizard.Sidebar />;
import Wizard from 'intergalactic/wizard';
<Wizard.Sidebar />;

WizardSidebarProps

& {...}
NameTypeDescription
titleReact.ReactNode Sidebar title

Wizard.Step

jsx
import Wizard from 'intergalactic/wizard';
<Wizard.Step />;
import Wizard from 'intergalactic/wizard';
<Wizard.Step />;

WizardStepProps

& {...}
NameTypeDescription
step Step value
disabledboolean Disabled step

Wizard.Stepper

jsx
import Wizard from 'intergalactic/wizard';
<Wizard.Stepper />;
import Wizard from 'intergalactic/wizard';
<Wizard.Stepper />;

WizardStepperProps

& {...}
NameTypeDescription
step Step value
onActive((step: , e: React.SyntheticEvent<>) => void) | React.Dispatch<React.SetStateAction<>> Is invoked when active the step
numberReact.ReactNode Stepper number
completedboolean Is the step completed
disabledboolean

Released under the MIT License.

Released under the MIT License.