feat(Progress): percantage can be string

This commit is contained in:
陈嘉涵
2020-01-29 15:46:36 +08:00
parent cd3cc07254
commit 72fbbc3b15
3 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -61,12 +61,12 @@ Use `pivot-text` to custom textuse `color` to custom bar color
| Attribute | Description | Type | Default |
|------|------|------|------|
| inactive | Whether to be gray | *boolean* | `false` |
| percentage | Percentage | *number* | `0` |
| percentage | Percentage | *number \| string* | `0` |
| stroke-width `v2.2.1` | Stroke width | *number \| string* | `4px` |
| show-pivot | Whether to show text | *boolean* | `true` |
| color | Color | *string* | `#1989fa` |
| text-color | Text color | *string* | `#fff` |
| track-color `v2.2.9` | Track color | *string* | `#e5e5e5` |
| pivot-text | Text | *string* | percentage |
| pivot-color | Text background color | *string* | inherit progress color |
| pivot-text | Pivot text | *string* | percentage |
| pivot-color | Pivot text background color | *string* | inherit progress color |
| text-color | Pivot text color | *string* | `#fff` |
| inactive | Whether to be gray | *boolean* | `false` |
| show-pivot | Whether to show text | *boolean* | `true` |