docs: type highlight (#4264)
This commit is contained in:
+11
-11
@@ -102,22 +102,22 @@ Vue.use(Grid).use(GridItem);
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| column-num | Column Num | `number` | `4` | 2.0.4 |
|
||||
| gutter | Gutter | `string | number` | `0` | - |
|
||||
| border | Whether to show border | `boolean` | `true` | - |
|
||||
| center | Whether to center content | `boolean` | `true` | - |
|
||||
| square | Whether to be square shape | `boolean` | `false` | - |
|
||||
| clickable | Whether to show click feedback when clicked | `boolean` | `false` | - |
|
||||
| column-num | Column Num | *number* | `4` | 2.0.4 |
|
||||
| gutter | Gutter | *string \| number* | `0` | - |
|
||||
| border | Whether to show border | *boolean* | `true` | - |
|
||||
| center | Whether to center content | *boolean* | `true` | - |
|
||||
| square | Whether to be square shape | *boolean* | `false` | - |
|
||||
| clickable | Whether to show click feedback when clicked | *boolean* | `false` | - |
|
||||
|
||||
### GridItem Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| text | Text | `string` | - | - |
|
||||
| icon | Icon name or URL | `string` | - | - |
|
||||
| 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` | - |
|
||||
| text | Text | *string* | - | - |
|
||||
| icon | Icon name or URL | *string* | - | - |
|
||||
| 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` | - |
|
||||
|
||||
### GridItem Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user