# steps
**Repository Path**: react-component/steps
## Basic Information
- **Project Name**: steps
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-18
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# rc-steps
---
React steps component.
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![Dependencies][david-image]][david-url]
[![DevDependencies][david-dev-image]][david-dev-url]
[![npm download][download-image]][download-url]
[![bundle size][bundlephobia-image]][bundlephobia-url]
[npm-image]: http://img.shields.io/npm/v/rc-steps.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rc-steps
[travis-image]: https://img.shields.io/travis/react-component/steps.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/steps
[codecov-image]: https://img.shields.io/codecov/c/github/react-component/steps/master.svg?style=flat-square
[codecov-url]: https://codecov.io/gh/react-component/steps/branch/master
[david-url]: https://david-dm.org/react-component/steps
[david-image]: https://david-dm.org/react-component/steps/status.svg?style=flat-square
[david-dev-url]: https://david-dm.org/react-component/steps?type=dev
[david-dev-image]: https://david-dm.org/react-component/steps/dev-status.svg?style=flat-square
[download-image]: https://img.shields.io/npm/dm/rc-steps.svg?style=flat-square
[download-url]: https://npmjs.org/package/rc-steps
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-steps
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-steps
## Usage
```bash
npm install rc-steps
```
```jsx
| name | type | default | description |
|---|---|---|---|
| type | string | default | diretypetion of Steps, enum: `default` or `navigation` |
| direction | string | horizontal | direction of Steps, enum: `horizontal` or `vertical` |
| current | number | 0 | index of current step |
| initial | number | 0 | index initial |
| size | string | size of Steps, could be `small` | |
| labelPlacement | string | placement of step title, could be `vertical` | |
| status | string | wait | status of current Steps, could be `error` `process` `finish` `wait` |
| icons | { finish: ReactNode, error: ReactNode } | specify the default finish icon and error icon | |
| onChange | (current: number) => void | Trigger when Step changed |
| name | type | default | description |
|---|---|---|---|
| title | ReactNode | title of step item | |
| subTitle | ReactNode | subTitle of step item | |
| description | ReactNode | description of step item | |
| icon | ReactNode | set icon of step item | |
| status | string | status of current Steps, could be `error` `process` `finish` `wait` | |
| tailContent | ReactNode | content above tail | |
| disabled | bool | false | disabled step when onChange exist |