rmc-steps
steps ui component for react mobile
Last updated 4 years ago by silentcloud .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install rmc-steps 
SYNC missed versions from official npm registry.

rmc-steps


React steps component.

NPM version build status Test coverage npm download

Usage

npm install rmc-steps
<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

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`

Steps.Step

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`

Development

npm install
npm start

License

rmc-steps is released under the MIT license.

Current Tags

  • 1.0.1                                ...           latest (4 years ago)

2 Versions

  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (2)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (13)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE