React 15.4.2 - Babel 6.23.0 - Browserify 14.1.0 (Webpack version (wip))
To install this module run:
npm install react-multistepnext, require it inside of your app:
var Multistep = require('react-multistep').MultistepshowNavigation
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}/>To build included example:
npm run buildNow open ./example/index.html in your favorite browser
First clone the repository and then run:
npm installTo test run:
npm test
