$ npm install rmc-steps
React steps component.
npm install rmc-steps
<Steps current={1}>
<Steps.Step title="first" />
<Steps.Step title="second" />
<Steps.Step title="third" />
</Steps>
http://localhost:8002/examples
online example: http://react-component.github.io/m-steps/examples/
name | type | default | description |
---|---|---|---|
direction | string | horizontal | direction of Steps, enum: `horizontal` or `vertical` |
current | number | 0 | index of current step |
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` |
name | type | default | description |
---|---|---|---|
title | ReactNode | title of step item | |
description | ReactNode | description of step item | |
icon | ReactNode or string | set icon of step item | |
status | string | status of current Steps, could be `error` `process` `finish` `wait` |
npm install
npm start
rmc-steps is released under the MIT license.
© 2010 - cnpmjs.org x YWFE | Home | YWFE