A multistep react component
npm install react-multistep-component-jyreact-multistep-component is a multistep/wizard component for React





Using npm
```
npm install react-multistep-component
- Multistep Form
- Multistep Form with validation
- Multistep with react-router
`js
import { Steps, Step } from 'react-multistep-component';
{
/*
*
*
* currentStep is the selected step when first render. By default the first (1) step willstepShouldChange
be selected. optional
*
* is called whenever a step is changed. This method can be used fortrue
validations. By default will return . optionalonStepChange
*
* is called after step change (include the first time when render) and haveprevButton
* the current step how attribute
*
* /nextButton is a wrapper for the buttons, html, jsx or string can be included.prevButton={
ex: Step 1}
. optionalmountOnlySiblings
*
* if it's set true, only the siblings of the currently active step will becustomNavigator
* render. This is an improvement for big implementations.
*
*/
}
{
/*
*
*
html, jsx or string that will be used as a label of the step. optional
*
*/
}
Example Step 1
Hello step 1
Javascript Rocks!
`
By default the component doesn't contain styles, but there are a couple of themes that you can use
in the examples
- Add redux` example
- Add key events
- Add more examples