Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

🔮 Lightweight, multi-step flow control fro React and React Native.

License

Notifications You must be signed in to change notification settings

uptimeventures/wizard-react

Repository files navigation

Wizard 🔮

CI Status Badge License Made by Uptime Ventures badge

Lightweight, multi-step flow-control for React and React Native.

Installation

npm install @uptimeventures/react-wizard

Usage

import React from 'react'
import Wizard, { Content, Navigation } from '@uptimeventures/react-wizard'

const App = () =>
  <Wizard
    steps={[
      { scene: 'welcome', component: () => <h2>Welcome</h2> },
      () => <h2>Step Two</h2>
    ]}
    component={() =>
      <div>
        <h1>Wizard</h1>
        <Content/>
        <Navigation
          render={({ prev, next }) =>
            <div>
              <button onClick={prev}>Previous</button>
              <button onClick={next}>Next</button>
            </div>
          }
        />
      </div>
    }
  />

License

© 2017 Uptime Ventures, Ltd. All rights reserved. Released under the 3-Clause BSD License.

About

🔮 Lightweight, multi-step flow control fro React and React Native.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published