Add Steps[initial], close #11180

This commit is contained in:
afc163 2018-08-22 13:53:57 +08:00
parent 711d78c892
commit db736843ff
3 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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",