[new feature] CollapseItem: enhancement, can use like Cell (#1671)

This commit is contained in:
张帅
2018-08-23 13:43:14 +08:00
committed by neverland
parent 1bb569fe23
commit 539145d661
5 changed files with 73 additions and 26 deletions
+10 -2
View File
@@ -85,11 +85,19 @@ export default {
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|
| name | Name | `String | Number` | `index` |
| title | Title | `String` | - |
| icon | Left Icon | `String` | - |
| title | Title | `String | Number` | - |
| value | Right text | `String | Number` | - |
| label | Description below the title | `String` | - |
| border | Whether to show inner border | `Boolean` | `true` |
| is-link | Whether to show link icon | `Boolean` | `true` |
### CollapseItem Slot
| name | Description |
|-----------|-----------|
| default | Content |
| title | Custom title |
| value | Custom value |
| icon | Custom icon |
| title | Custom title |
| right-icon | Custom right icon |