feat(Cell): add value slot, deprecate default slot (#8933)

This commit is contained in:
neverland
2021-06-26 21:31:46 +08:00
committed by GitHub
parent 8354877428
commit 29f800b827
5 changed files with 41 additions and 21 deletions
+8 -8
View File
@@ -188,14 +188,14 @@ app.use(CellGroup);
### Cell Slots
| 名称 | 说明 |
| ---------- | ----------------------------- |
| default | 自定义右侧 value 的内容 |
| title | 自定义左侧 title 的内容 |
| label | 自定义标题下方 label 的内容 |
| icon | 自定义左侧图标 |
| right-icon | 自定义右侧按钮,默认为`arrow` |
| extra | 自定义单元格最右侧的额外内容 |
| 名称 | 说明 |
| -------------- | ---------------------------- |
| title | 自定义左侧标题 |
| value `v3.1.1` | 自定义右侧内容 |
| label | 自定义标题下方的描述信息 |
| icon | 自定义左侧图标 |
| right-icon | 自定义右侧图标 |
| extra | 自定义单元格最右侧的额外内容 |
### 样式变量