docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions
+14 -14
View File
@@ -92,20 +92,20 @@ export default {
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| v-model | Current rate | `number` | - |
| count | Count | `number` | `5` |
| size | Icon size| `string | number` | `20px` |
| gutter | Icon gutter | `string | number` | `4px` |
| color | Selected color | `string` | `#ffd21e` |
| void-color | Void color | `string` | `#c7c7c7` |
| icon | Selected icon | `string` | `star` |
| void-icon | Void icon | `string` | `star-o` |
| allow-half | Whether to allow half star | `boolean` | `false` |
| readonly | Whether to be readonly | `boolean` | `false` |
| disabled | Whether to disable rate | `boolean` | `false` |
| disabled-color | Disabled color | `string` | `#bdbdbd` |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| v-model | Current rate | `number` | - | - |
| count | Count | `number` | `5` | - |
| size | Icon size| `string | number` | `20px` | - |
| gutter | Icon gutter | `string | number` | `4px` | - |
| color | Selected color | `string` | `#ffd21e` | - |
| void-color | Void color | `string` | `#c7c7c7` | - |
| icon | Selected icon | `string` | `star` | - |
| void-icon | Void icon | `string` | `star-o` | - |
| allow-half | Whether to allow half star | `boolean` | `false` | - |
| readonly | Whether to be readonly | `boolean` | `false` | - |
| disabled | Whether to disable rate | `boolean` | `false` | - |
| disabled-color | Disabled color | `string` | `#bdbdbd` | - |
### Events