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