From 449dd77022e258e1a25f4b5d59889b279d35b704 Mon Sep 17 00:00:00 2001 From: Fansy <35361626+fanhaoyuan@users.noreply.github.com> Date: Mon, 2 May 2022 10:43:05 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0`Steps`=E7=BB=84?= =?UTF-8?q?=E4=BB=B6`step`=E9=85=8D=E7=BD=AE=E9=A1=B9=E8=AF=B4=E6=98=8E=20?= =?UTF-8?q?(#4911)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/steps/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/steps/README.md b/packages/steps/README.md index 103bf71f..7367e2ee 100644 --- a/packages/steps/README.md +++ b/packages/steps/README.md @@ -121,6 +121,7 @@ Page({ | 参数 | 说明 | 类型 | 默认值 | | --- | --- | --- | --- | | active | 当前步骤 | _number_ | 0 | +| steps | 步骤配置集合,见下面配置项 | _Step 配置项数组_ | `[]` | | direction | 显示方向,可选值为 `horizontal` `vertical` | _string_ | `horizontal` | | active-color | 激活状态颜色 | _string_ | `#07c160` | | inactive-color | 未激活状态颜色 | _string_ | `#969799` | @@ -139,3 +140,12 @@ Page({ | ------------ | -------------- | | custom-class | 根节点样式类 | | desc-class | 描述信息样式类 | + +### Step 配置项 + +| 键名 | 说明 | 类型 | +| ------------ | -------------------------------------------------------- | -------- | +| text | 当前步骤名称 | _string_ | +| desc | 当前步骤描述信息 | _string_ | +| activeIcon | 当前步骤激活状态底部图标 | _string_ | +| inactiveIcon | 当前步骤未激活状态底部图标,可选值见 [Icon 组件](#/icon) | _string_ |