feat(Progress): add stroke-width prop (#4397)
This commit is contained in:
@@ -19,6 +19,11 @@ Use 'percentage' prop to set current progress
|
||||
<van-progress :percentage="50" />
|
||||
```
|
||||
|
||||
### Stroke Width
|
||||
|
||||
```html
|
||||
<van-progress :percentage="50" stroke-width="8" />
|
||||
```
|
||||
|
||||
### Inactive
|
||||
|
||||
@@ -60,6 +65,7 @@ Use `pivot-text` to custom text,use `color` to custom bar color
|
||||
|------|------|------|------|------|
|
||||
| inactive | Whether to be gray | *boolean* | `false` | - |
|
||||
| percentage | Percentage | *number* | `0` | - |
|
||||
| stroke-width | Stroke width | *string \| number* | `4px` | 2.2.1 |
|
||||
| show-pivot | Whether to show text | *boolean* | `true` | - |
|
||||
| color | Color | *string* | `#1989fa` | - |
|
||||
| pivot-text | Text | *string* | percentage | - |
|
||||
|
||||
Reference in New Issue
Block a user