docs(Cell): add extra slot (#6289)

* docs(Cell): add extra slot

* docs: upd
This commit is contained in:
neverland 2020-05-16 10:54:25 +08:00 committed by GitHub
parent 8307b3d9ad
commit 5c8d1d2420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 10 deletions

View File

@ -154,10 +154,11 @@ Vue.use(CellGroup);
### Cell Slots
| Name | Description |
| ---------- | ----------------- |
| default | Custom value |
| icon | Custom icon |
| title | Custom title |
| label | Custom label |
| right-icon | Custom right icon |
| Name | Description |
| ---------- | --------------------------------- |
| default | Custom value |
| icon | Custom icon |
| title | Custom title |
| label | Custom label |
| right-icon | Custom right icon |
| extra | Custom extra content on the right |

View File

@ -159,8 +159,9 @@ Vue.use(CellGroup);
| 名称 | 说明 |
| ---------- | ----------------------------- |
| default | 自定义右侧内容 |
| title | 自定义左侧标题 |
| label | 自定义标题下方描述 |
| default | 自定义右侧 value 的内容 |
| title | 自定义左侧 title 的内容 |
| label | 自定义标题下方 label 的内容 |
| icon | 自定义左侧图标 |
| right-icon | 自定义右侧按钮,默认为`arrow` |
| extra | 自定义单元格最右侧的额外内容 |