Try it here
To install this module run:
npm install react-multistep
next, require/import it inside of your app:
const MultiStep = import from ('react-multistep')
showNavigation
type: boolean (default = true)
steps
type: array of objects pointing to React components
const steps = [
{name: 'StepOne', component: <StepOne/>},
{name: 'StepTwo', component: <StepTwo/>},
{name: 'StepThree', component: <StepThree/>},
{name: 'StepFour', component: <StepFour/>}
];
<Multistep showNavigation={true} steps={steps}/>
npm run build
npm run build-with-webpack
Now open ./example/index.html in your favorite browser
First clone the repository and then run:
npm install
To test run:
npm test