项目作者: voyya

项目描述 :
React component for progress multi step
高级语言: JavaScript
项目地址: git://github.com/voyya/react-multi-step.git
创建时间: 2017-07-06T11:58:01Z
项目社区:https://github.com/voyya/react-multi-step

开源协议:MIT License

下载


React Multi Step

Join the chat at https://gitter.im/voyya/react-multi-step
npm version
Build Status
Dependency Status
codecov
Downloads

A simple and reusable multi-step component for React (Demo)

Installation

The package can be installed via NPM:

  1. npm install react-multi-step --save

Configuration

The most basic use of the multi-step can be described with:

js

Local Development

The master branch contains the latest version of the multi-step component. To start your example app, you can run yarn start. This starts a simple webserver on http://localhost:8080.

You can run yarn test to execute the test suite and linters. To help you develop the component we’ve set up some tests that covers the basic functionality (can be found in /tests). Even though we’re big fans of testing, this only covers a small piece of the component. We highly recommend you add tests when you’re adding new functionality.

The examples

The examples are hosted within the docs folder and are ran in the simple add that loads the multi-step. To extend the examples with a new example, you can simply duplicate one of the existing examples and change the unique properties of your example.

License

Copyright (c) 2016 voyya Inc. and individual contributors. Licensed under MIT license, see LICENSE for the full license.