feat(CollapseItem): add label slot (#8934)

* feat(CollapseItem): add label slot

* docs: upd
This commit is contained in:
neverland
2021-06-26 21:43:00 +08:00
committed by GitHub
parent 29f800b827
commit 12400a2527
5 changed files with 24 additions and 21 deletions
+8 -7
View File
@@ -142,13 +142,14 @@ export default {
### CollapseItem Slots
| 名称 | 说明 |
| ---------- | ------------------------------ |
| default | 面板内容 |
| value | 自定义显示内容 |
| icon | 自定义 `icon` |
| title | 自定义 `title` |
| right-icon | 自定义右侧按钮,默认是 `arrow` |
| 名称 | 说明 |
| -------------- | -------------------- |
| default | 面板内容 |
| title | 自定义标题栏左侧内容 |
| value | 自定义标题栏右侧内容 |
| label `v3.1.1` | 自定义标题栏描述信息 |
| icon | 自定义标题栏左侧图标 |
| right-icon | 自定义标题栏右侧图标 |
### CollapseItem 方法