浏览代码

docs(steps): 补充icon自定义的文档

suzigang 3 年之前
父节点
当前提交
42d3bd32f1
共有 2 个文件被更改,包括 16 次插入14 次删除
  1. 8 7
      src/packages/__VUE/steps/doc.en-US.md
  2. 8 7
      src/packages/__VUE/steps/doc.md

+ 8 - 7
src/packages/__VUE/steps/doc.en-US.md

@@ -140,9 +140,9 @@ app.use(Step);
 
 | Attribute       | Description                                         | Type             | Default |
 | ---------------------- | ----------------------------------------------------------- | -------------- | ----------- |
-| direction	             | 	Show direction,`horizontal`,`vertical`  | String        | 'horizontal'  | 
-| current	               | 	Current step           | Number、String        | '0'      |
-| progress-dot            |  Dot step bar     | Boolean | false         |
+| direction	             | 	Show direction,`horizontal`,`vertical`  | String        | `horizontal`  | 
+| current	               | 	Current step           | Number、String        | `0`      |
+| progress-dot            |  Dot step bar     | Boolean | `false`         |
 
 ### Steps Events
 
@@ -154,10 +154,11 @@ app.use(Step);
 
 | Attribute       | Description                         | Type             | Default |
 | ---------------- | ---------------------- | ------------ | ----------- |
-| title            | Title of the process step         | String | Step |
-| content          | Descriptive text of process steps (supporting HTML structure)      | String | Step description |
-| icon          | Icon       | String | null |
-| icon-color          | Icon color       | String | null |
+| title            | Title of the process step         | String | `Step` |
+| content          | Descriptive text of process steps (supporting HTML structure)      | String | `Step description` |
+| icon          | [Icon Name](#/en-US/component/icon)       | String | null |
+| icon-color          | [Icon Color](#/en-US/component/icon)        | String | null |
+| size          | [Icon Size](#/zh-CN/component/icon)       | string | `12px` |
 
 ### Step Slots
 

+ 8 - 7
src/packages/__VUE/steps/doc.md

@@ -141,9 +141,9 @@ app.use(Step);
 
 | 参数                   | 说明                                                        | 类型           | 默认值      |
 | ---------------------- | ----------------------------------------------------------- | -------------- | ----------- |
-| direction	             | 	显示方向,`horizontal`,`vertical`  | String        | 'horizontal'  | 
-| current	               | 	当前所在的步骤           | Number、String        | '0'      |
-| progress-dot            |  点状步骤条     | Boolean | false         |
+| direction	             | 	显示方向,`horizontal`,`vertical`  | string        | `horizontal`  | 
+| current	               | 	当前所在的步骤           | number、string        | `0`      |
+| progress-dot            |  点状步骤条     | boolean | `false`         |
 
 ### Steps Events
 
@@ -155,10 +155,11 @@ app.use(Step);
 
 | 参数           | 说明                   | 类型     | 默认值      |
 | ---------------- | ---------------------- | ------------ | ----------- |
-| title            | 流程步骤的标题         | String | 步骤 |
-| content          | 流程步骤的描述性文字(支持 html 结构)       | String | 步骤描述 |
-| icon          | 图标       | String | null |
-| icon-color          | 图标颜色       | String | null |
+| title            | 流程步骤的标题         | string | `步骤` |
+| content          | 流程步骤的描述性文字(支持 html 结构)       | string | `步骤描述` |
+| icon          | [图标名称](#/zh-CN/component/icon)       | string | null |
+| icon-color          | [图标颜色](#/zh-CN/component/icon)       | string | null |
+| size          | [图标尺寸](#/zh-CN/component/icon)       | string | `12px` |
 
 ### Step Slots