Browse Source

Add Steps[initial], close #11180

pull/11884/head
afc163 6 years ago
parent
commit
db736843ff
  1. 1
      components/steps/index.en-US.md
  2. 1
      components/steps/index.zh-CN.md
  3. 2
      package.json

1
components/steps/index.en-US.md

@ -33,6 +33,7 @@ The whole of the step bar.
| progressDot | Steps with progress dot style, customize the progress dot by setting it to a function. labelPlacement will be `vertical` | Boolean or (iconDot, {index, status, title, description}) => ReactNode | false |
| size | to specify the size of the step bar, `default` and `small` are currently supported | string | `default` |
| status | to specify the status of current step, can be set to one of the following values: `wait` `process` `finish` `error` | string | `process` |
| initial | set the initial step, counting from 0 | number | 0 |
### Steps.Step

1
components/steps/index.zh-CN.md

@ -34,6 +34,7 @@ title: Steps
| progressDot | 点状步骤条,可以设置为一个 function,labelPlacement 将强制为`vertical` | Boolean or (iconDot, {index, status, title, description}) => ReactNode | false |
| size | 指定大小,目前支持普通(`default`)和迷你(`small`) | string | default |
| status | 指定当前步骤的状态,可选 `wait` `process` `finish` `error` | string | process |
| initial | 起始序号,从 0 开始记数 | number | 0 |
### Steps.Step

2
package.json

@ -71,7 +71,7 @@
"rc-rate": "~2.4.0",
"rc-select": "~8.1.1",
"rc-slider": "~8.6.0",
"rc-steps": "~3.1.0",
"rc-steps": "~3.2.0",
"rc-switch": "~1.6.0",
"rc-table": "~6.2.0",
"rc-tabs": "~9.3.3",

Loading…
Cancel
Save