diff --git a/docs/en-US/component/progress.md b/docs/en-US/component/progress.md index 831b02993b..7f1425a77f 100644 --- a/docs/en-US/component/progress.md +++ b/docs/en-US/component/progress.md @@ -81,25 +81,25 @@ progress/striped-progress ### Attributes -| Name | Description | Type | Default | -| --------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- | -| percentage | percentage, **required** | ^[number]`(0-100)` | 0 | -| type | the type of progress bar | ^[enum]`'line' \| 'circle' \| 'dashboard'` | line | -| stroke-width | the width of progress bar | ^[number] | 6 | -| text-inside | whether to place the percentage inside progress bar, only works when `type` is 'line' | ^[boolean] | false | -| status | the current status of progress bar | ^[enum]`'success' \| 'exception' \| 'warning'` | — | -| indeterminate | set indeterminate progress | ^[boolean] | false | -| duration | control the animation duration of indeterminate progress or striped flow progress | ^[number] | 3 | -| color | background color of progress bar. Overrides `status` prop | ^[string] / ^[function]`(percentage: number) => string` / ^[Array]`{ color: string; percentage: number }[]` | '' | -| width | the canvas width of circle progress bar | ^[number] | 126 | -| show-text | whether to show percentage | ^[boolean] | true | -| stroke-linecap | circle/dashboard type shape at the end path | ^[enum]`'butt' \| 'round' \| 'square'` | round | -| format | custom text format | ^[Function]`(percentage: number) => string` | — | -| striped ^(2.3.4) | stripe over the progress bar's color | ^[boolean] | false | -| striped-flow ^(2.3.4) | get the stripes to flow | ^[boolean] | false | +| Name | Description | Type | Default | +| ---------------------- | ------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------- | +| percentage ^(required) | percentage | ^[number]`(0-100)` | 0 | +| type | the type of progress bar | ^[enum]`'line' \| 'circle' \| 'dashboard'` | line | +| stroke-width | the width of progress bar | ^[number] | 6 | +| text-inside | whether to place the percentage inside progress bar, only works when `type` is 'line' | ^[boolean] | false | +| status | the current status of progress bar | ^[enum]`'success' \| 'exception' \| 'warning'` | — | +| indeterminate | set indeterminate progress | ^[boolean] | false | +| duration | control the animation duration of indeterminate progress or striped flow progress | ^[number] | 3 | +| color | background color of progress bar. Overrides `status` prop | ^[string] / ^[function]`(percentage: number) => string` / ^[Array]`{ color: string; percentage: number }[]` | '' | +| width | the canvas width of circle progress bar | ^[number] | 126 | +| show-text | whether to show percentage | ^[boolean] | true | +| stroke-linecap | circle/dashboard type shape at the end path | ^[enum]`'butt' \| 'round' \| 'square'` | round | +| format | custom text format | ^[Function]`(percentage: number) => string` | — | +| striped ^(2.3.4) | stripe over the progress bar's color | ^[boolean] | false | +| striped-flow ^(2.3.4) | get the stripes to flow | ^[boolean] | false | ### Slots -| Name | Description | -| ------- | ------------------------------------------------- | -| default | Customized content, parameter is `{ percentage }` | +| Name | Description | Type | +| ------- | ------------------ | --------------------------------- | +| default | Customized content | ^[object]`{ percentage: number }` |