From db736843ffd88bcb45a5db54f4d6d1f03ddce23b Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 22 Aug 2018 13:53:57 +0800 Subject: [PATCH] Add Steps[initial], close #11180 --- components/steps/index.en-US.md | 1 + components/steps/index.zh-CN.md | 1 + package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/steps/index.en-US.md b/components/steps/index.en-US.md index 00823e19a8..b9acb4283a 100644 --- a/components/steps/index.en-US.md +++ b/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 diff --git a/components/steps/index.zh-CN.md b/components/steps/index.zh-CN.md index 56fc397e91..c7c32466bc 100644 --- a/components/steps/index.zh-CN.md +++ b/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 diff --git a/package.json b/package.json index 6e7c3ca96c..766bc61e0f 100644 --- a/package.json +++ b/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",