gpfunk / react-multistep

ReactJS multistep form component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Responsive ReactJS multi step form component

React 15.3.1 - Babel 6.5.0

version downloads MIT License


-------------

Working demo

[List of forks] (https://github.com/srdjan/react-multistep/network/members)

Instructions

To install this module run:

npm install react-multistep

next, require it inside of your app:

var Multistep = require('react-multistep').Multistep

Configuration:

showNavigation type: boolean (by default = true)
steps type: array of objects

Example:

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 build

Now open ./example/index.html in your favorite browser

Dev instructions

First clone the repository and then run:

npm install

To test run:

npm test

About

ReactJS multistep form component

License:MIT License


Languages

Language:CSS 64.0%Language:JavaScript 33.8%Language:HTML 2.2%