Skip to content

Wizard

Wizard

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

WizardProps

& {...}
NameTypeDescription
step Active step value
localestring

Wizard.Sidebar

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

WizardSidebarProps

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

Wizard.Stepper

jsx
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

Wizard.Step

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

WizardStepProps

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

Wizard.StepBack

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

WizardStepBackProps

& {...}
NameTypeDescription
onActive((step: , e: React.SyntheticEvent<>) => void) | React.Dispatch<React.SetStateAction<>>
stepNamestring

Wizard.StepNext

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

WizardStepNextProps

& {...}
NameTypeDescription
onActive((step: , e: React.SyntheticEvent<>) => void) | React.Dispatch<React.SetStateAction<>>
stepNamestring

Released under the MIT License.

Released under the MIT License.