[Improvement] Cell: support number type title & value (#1073)

This commit is contained in:
neverland
2018-05-15 18:41:45 +08:00
committed by GitHub
parent e8aad7246c
commit 1da5e3637c
4 changed files with 19 additions and 7 deletions
+2 -2
View File
@@ -71,8 +71,8 @@ Vue.use(Cell).use(CellGroup);
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|
| icon | Left Icon | `String` | - |
| title | Title | `String` | - |
| value | Right text | `String` | - |
| title | Title | `String | Number` | - |
| value | Right text | `String | Number` | - |
| label | Description below the title | `String` | - |
| border | Whether to show inner border | `Boolean` | `true` |
| center | Whether to center content vertically | `Boolean` | `true` |