[new feature] Step: add active-icon slot (#3193)
This commit is contained in:
@@ -69,17 +69,13 @@ export default {
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| active | Active step | `Number` | 0 |
|
||||
| icon | Action step icon | `String` | - |
|
||||
| icon-class | Icon class | `String` | - |
|
||||
| title | Title | `String` | - |
|
||||
| description | Description | `String` | - |
|
||||
| direction | Can be set to `vertical` | `String` | `horizontal` |
|
||||
| active-icon | Active icon name | `String` | `checked` |
|
||||
| active-color | Active step color | `String` | `#07c160` |
|
||||
|
||||
### Steps Slot
|
||||
### Step Slot
|
||||
|
||||
| Name | Description |
|
||||
|------|------|
|
||||
| icon | Custom icon |
|
||||
| message-extra | Extra content |
|
||||
|
||||
@@ -74,16 +74,12 @@ export default {
|
||||
|------|------|------|------|------|
|
||||
| active | 当前步骤 | `Number` | 0 | - |
|
||||
| title | 顶部描述栏标题 | `String` | - | - |
|
||||
| description | 顶部描述栏文字 | `String` | - | - |
|
||||
| icon | 顶部描述栏图标 | `String` | - | - |
|
||||
| icon-class | 顶部描述栏图标额外类名 | `String` | - | - |
|
||||
| direction | 显示方向,可选值为 `vertical` | `String` | `horizontal` | - |
|
||||
| active-icon | 激活状态底部图标,可选值见 Icon 组件 | `String` | `checked` | 1.6.9 |
|
||||
| active-color | 激活状态颜色 | `String` | `#07c160` | - |
|
||||
|
||||
### Steps Slot
|
||||
### Step Slot
|
||||
|
||||
| 名称 | 说明 |
|
||||
|------|------|
|
||||
| icon | 自定义icon区域 |
|
||||
| message-extra | 状态栏添加额外的元素 |
|
||||
| active-icon | 自定义激活状态图标 |
|
||||
|
||||
Reference in New Issue
Block a user