Skip to content

Commit

Permalink
update Progress doc (ant-design#6752)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddcat1115 authored Jul 7, 2017
1 parent a4648fd commit 7cb5d68
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/progress/demo/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 2 additions & 0 deletions components/progress/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

2 changes: 2 additions & 0 deletions components/progress/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |

0 comments on commit 7cb5d68

Please sign in to comment.