feat(Progress): percantage can be string
This commit is contained in:
@@ -61,12 +61,12 @@ Use `pivot-text` to custom text,use `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` |
|
||||
|
||||
Reference in New Issue
Block a user