docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+20 -20
View File
@@ -100,31 +100,31 @@ Vue.use(Cell).use(CellGroup);
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| title | Group title | `string` | - | - |
| border | Whether to show outer border | `boolean` | `true` | - |
| title | Group title | *string* | - | - |
| border | Whether to show outer border | *boolean* | `true` | - |
### Cell Props
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| icon | Left Icon | `string` | - | - |
| title | Title | `string | number` | - | - |
| value | Right text | `string | number` | - | - |
| label | Description below the title | `string` | - | - |
| size | Sizecan be set to `large` | `string` | - | - |
| border | Whether to show inner border | `boolean` | `true` | - |
| center | Whether to center content vertically | `boolean` | `true` | - |
| url | Link URL | `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 | `boolean` | `false` | - |
| 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` | - |
| arrow-direction | Can be set to `left` `up` `down` | `string` | - | - |
| title-style | Title style | `any` | - | - |
| title-class | Title className | `any` | - | - |
| value-class | Value className | `any` | - | - |
| label-class | Label className | `any` | - | - |
| icon | Left Icon | *string* | - | - |
| title | Title | *string \| number* | - | - |
| value | Right text | *string \| number* | - | - |
| label | Description below the title | *string* | - | - |
| size | Sizecan be set to `large` | *string* | - | - |
| border | Whether to show inner border | *boolean* | `true` | - |
| center | Whether to center content vertically | *boolean* | `true` | - |
| url | Link URL | *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 | *boolean* | `false` | - |
| 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` | - |
| arrow-direction | Can be set to `left` `up` `down` | *string* | - | - |
| title-style | Title style | *any* | - | - |
| title-class | Title className | *any* | - | - |
| value-class | Value className | *any* | - | - |
| label-class | Label className | *any* | - | - |
### Cell Events