update Progress doc (#6752)

This commit is contained in:
ddcat1115 2017-07-07 14:18:57 +08:00 committed by GitHub
parent a4648fd67f
commit 7cb5d68211
3 changed files with 6 additions and 2 deletions

View File

@ -7,11 +7,11 @@ title:
## zh-CN
仪表盘样式的进度条。
通过设置 `type=dashboard`,可以很方便地实现仪表盘样式的进度条。
## en-US
A dashboard style of progress.
By setting `type=dashboard`, you can get a dashboard style of progress easily.
````jsx
import { Progress } from 'antd';

View File

@ -25,4 +25,6 @@ showInfo | determine whether to display the progress value and the status icon |
strokeWidth `(type=line)` | to set the width of the progress bar, unit: `px` | number | 10
strokeWidth `(type=circle)` | to set the width of the circular progress bar, unit: percentage of the canvas width | number | 6
width `(type=circle)` | to set the canvas width of the circular progress bar, unit: `px` | number | 132
gapDegree `(type=circle)` | the gap degree of half circle, 0 ~ 360 | number | 0
gapPosition `(type=circle)` | the gap position | Enum{ 'top', 'bottom', 'left', 'right' } | `top`

View File

@ -27,3 +27,5 @@ title: Progress
| strokeWidth `(type=line)` | 进度条线的宽度,单位 px | number | 10 |
| strokeWidth `(type=circle)` | 圆形进度条线的宽度,单位是进度条画布宽度的百分比 | number | 6 |
| width `(type=circle)` | 圆形进度条画布宽度,单位 px | number | 132 |
| gapDegree `(type=circle)` | 圆形进度条缺口角度,可取值 0 ~ 360 | number | 0 |
| gapPosition `(type=circle)` | 圆形进度条缺口位置 | Enum{ 'top', 'bottom', 'left', 'right' } | `top` |