mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
Add Steps[initial], close #11180
This commit is contained in:
parent
711d78c892
commit
db736843ff
@ -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 |
|
| 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` |
|
| 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` |
|
| 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
|
### Steps.Step
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ title: Steps
|
|||||||
| progressDot | 点状步骤条,可以设置为一个 function,labelPlacement 将强制为`vertical` | Boolean or (iconDot, {index, status, title, description}) => ReactNode | false |
|
| progressDot | 点状步骤条,可以设置为一个 function,labelPlacement 将强制为`vertical` | Boolean or (iconDot, {index, status, title, description}) => ReactNode | false |
|
||||||
| size | 指定大小,目前支持普通(`default`)和迷你(`small`) | string | default |
|
| size | 指定大小,目前支持普通(`default`)和迷你(`small`) | string | default |
|
||||||
| status | 指定当前步骤的状态,可选 `wait` `process` `finish` `error` | string | process |
|
| status | 指定当前步骤的状态,可选 `wait` `process` `finish` `error` | string | process |
|
||||||
|
| initial | 起始序号,从 0 开始记数 | number | 0 |
|
||||||
|
|
||||||
### Steps.Step
|
### Steps.Step
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
"rc-rate": "~2.4.0",
|
"rc-rate": "~2.4.0",
|
||||||
"rc-select": "~8.1.1",
|
"rc-select": "~8.1.1",
|
||||||
"rc-slider": "~8.6.0",
|
"rc-slider": "~8.6.0",
|
||||||
"rc-steps": "~3.1.0",
|
"rc-steps": "~3.2.0",
|
||||||
"rc-switch": "~1.6.0",
|
"rc-switch": "~1.6.0",
|
||||||
"rc-table": "~6.2.0",
|
"rc-table": "~6.2.0",
|
||||||
"rc-tabs": "~9.3.3",
|
"rc-tabs": "~9.3.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user