# rmc-steps

> steps ui component for react mobile

Latest version **1.0.1** (published 2020-06-22) · 0 weekly downloads

## Install

```sh
npm install rmc-steps
pnpm add rmc-steps
yarn add rmc-steps
bun add rmc-steps
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-06-22 |
| First published | 2017-09-22 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 38.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Maintainers | silentcloud, warmhug |
| Keywords | react, react-component, react-steps, mobile steps |

## Links

- npm: https://www.npmjs.com/package/rmc-steps
- Repository: https://github.com/react-component/m-steps
- Homepage: http://github.com/react-component/m-steps
- Issues: http://github.com/react-component/m-steps/issues
- npm.io page: https://npm.io/package/rmc-steps

## Dependencies (2)

- [classnames](https://npm.io/package/classnames.md) ^2.2.3
- [babel-runtime](https://npm.io/package/babel-runtime.md) ^6.23.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2020-06-22
- 1.0.0 — 2017-09-22

## README

# rmc-steps

---

React steps component.

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![npm download][download-image]][download-url]

[npm-image]: http://img.shields.io/npm/v/rmc-steps.svg?style=flat-square
[npm-url]: http://npmjs.org/package/rmc-steps
[download-image]: https://img.shields.io/npm/dm/rmc-steps.svg?style=flat-square
[download-url]: https://npmjs.org/package/rmc-steps
[travis-image]: https://img.shields.io/travis/react-component/m-steps.svg?style=flat-square
[travis-url]: https://travis-ci.org/react-component/m-steps
[coveralls-image]: https://img.shields.io/coveralls/react-component/m-steps.svg?style=flat-square
[coveralls-url]: https://coveralls.io/r/react-component/m-steps?branch=master

## Usage

```bash
npm install rmc-steps
```

```jsx
<Steps current={1}>
  <Steps.Step title="first" />
  <Steps.Step title="second" />
  <Steps.Step title="third" />
</Steps>
```

## Example

http://localhost:8002/examples

online example: http://react-component.github.io/m-steps/examples/

## API

<table class="table table-bordered table-striped">
  <thead>
    <tr>
      <th style="width: 100px;">name</th>
      <th style="width: 50px;">type</th>
      <th style="width: 50px;">default</th>
      <th>description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>direction</td>
      <td>string</td>
      <td>horizontal</td>
      <td>direction of Steps, enum: `horizontal` or `vertical`</td>
    </tr>
    <tr>
      <td>current</td>
      <td>number</td>
      <td>0</td>
      <td>index of current step</td>
    </tr>
    <tr>
      <td>size</td>
      <td>string</td>
      <td></td>
      <td>size of Steps, could be `small`</td>
    </tr>
    <tr>
      <td>labelPlacement</td>
      <td>string</td>
      <td></td>
      <td>placement of step title, could be `vertical`</td>
    </tr>
    <tr>
      <td>status</td>
      <td>string</td>
      <td>wait</td>
      <td>status of current Steps, could be `error` `process` `finish` `wait`</td>
    </tr>
  </tbody>
</table>

### Steps.Step

<table class="table table-bordered table-striped">
  <thead>
    <tr>
      <th style="width: 100px;">name</th>
      <th style="width: 50px;">type</th>
      <th style="width: 50px;">default</th>
      <th>description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>title</td>
      <td>ReactNode</td>
      <td></td>
      <td>title of step item</td>
    </tr>
    <tr>
      <td>description</td>
      <td>ReactNode</td>
      <td></td>
      <td>description of step item</td>
    </tr>
    <tr>
      <td>icon</td>
      <td>ReactNode or string</td>
      <td></td>
      <td>set icon of step item</td>
    </tr>
    <tr>
      <td>status</td>
      <td>string</td>
      <td></td>
      <td>status of current Steps, could be `error` `process` `finish` `wait`</td>
    </tr>
  </tbody>
</table>

## Development

```
npm install
npm start
```

## License

rmc-steps is released under the MIT license.

---
_Source: https://npm.io/package/rmc-steps · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
