[Improvement] Cell: add center prop (#771)

This commit is contained in:
neverland
2018-03-23 22:46:30 +08:00
committed by GitHub
parent eda842ce07
commit 199ec0cd85
3 changed files with 7 additions and 3 deletions
+2 -1
View File
@@ -74,10 +74,11 @@ Vue.use(Cell).use(CellGroup);
| title | Title | `String` | - | - |
| value | Right text | `String` | - | - |
| label | Description below the title | `String` | - | - |
| border | Whether to show inner border | `Boolean` | `true` | - |
| center | Whether to center content vertically | `Boolean` | `true` | - |
| url | Link | `String` | - | - |
| to | Target route of the link, same as to of `vue-router` | `String | Object` | - | - |
| replace | If true, the navigation will not leave a history record | `String` | `false` | - |
| border | Whether to show inner border | `Boolean` | `true` | - |
| clickable | Whether to show click feedback when clicked | `Boolean` | `false` | - |
| is-link | Whether to show link icon | `Boolean` | `false` | - |
| required | Whether to show required mark | `Boolean` | `false` | - |