@comparaonline/ui-wizard-form-stepper
v3.0.0
Published
Component to identify the current step in a Wizard Form, by convention you can navigate only to previous steps.
Downloads
123
Maintainers
Keywords
Readme
@comparaonline/ui-wizard-form
Component to identify the current step in a Wizard Form, by convention you can navigate only to previous steps.
Installation
yarn add @comparaonline/ui-wizard-form
Usage
Example
<WizardFormStepper
activeStepId="1"
stepGroups={[
{ label: '1', stepIds: ['a', 'b', 'c'] },
{ label: '2', stepIds: ['d', 'e', 'f'] }
]}
onStepClick={stepId => goTo(stepId)}
/>