node package manager

react-view-manager

react-view-manager

React view manager

Installation

npm install react-view-manager --save

Usage

For use with es6 modules

import React from 'react';
import render from 'react-dom';
import { ViewManager, View } from 'react-stepper';
 
render((
    <ViewManager current="first-view"}>
        <View name="first-view">
          <Component/>
        </View>
        <View name="second-view">
          <Component/>
        </View>
    </ViewManager>
    ), 
    'your-root-element'
);
 

Examples

For examples just run npm script

npm run examples

and go to http://localhost:8000

License

MIT, see LICENSE.md for details.