1.0.1 • Published 4 months ago

wizard-step-indicator-react v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

wizard-step-indicator-react

Build Status

Wizard Step Indicator for React

Storybook:

https://shadiabuhilal.github.io/wizard-step-indicator-react/


Install

npm i wizard-step-indicator-react

Usage

import wizard-step-indicator-react

import WizardStepIndicator from 'wizard-step-indicator-react';

Using WizardStepIndicator

WizardStepIndicator comoponent

Example:

const [currentStepIndexState, setCurrentStepIndex] = useState(0);

...

<WizardStepIndicator
    stepsCount={5}
    currentStepIndex={currentStepIndexState}
    onClick={(index)=> { 
        setCurrentStepIndex(index);
    }}
/>

For more info, please check storybook

1.0.1

4 months ago

1.0.0

4 months ago