1.2.1 • Published 6 years ago

@uptimeventures/react-wizard v1.2.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
-
Last release
6 years ago

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.

1.2.1

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago