Skip to content

Commit

Permalink
Update Progress English doc (ant-design#7540)
Browse files Browse the repository at this point in the history
Fixed minor typos.
  • Loading branch information
khalibloo authored and nikogu committed Sep 11, 2017
1 parent d5b6cc7 commit 643b32d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/progress/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ type: Feedback
title: Progress
---

To display the current progress of an operation flow.
Display the current progress of an operation flow.

## When To Use

If it will take a long time to complete the operation, you can use `Progress` to show the current progress and status.
If it will take a long time to complete an operation, you can use `Progress` to show the current progress and status.

- When an operation will interrupt the current interface, or it needs to run in the background for more than 2 seconds.
- When you need to display the completion percentage of an operation.
Expand All @@ -17,14 +17,14 @@ If it will take a long time to complete the operation, you can use `Progress` to

Property | Description | Type | Default
-----|-----|-----|------
type | to set the type, options: `line` `circle` `dashboard`| string | line
type | to set the type, options: `line` `circle` `dashboard`| string | `line`
percent | to set the completion percentage | number | 0
format | template function of the content | function(percent) | `percent => percent + '%'`
status | to set the status of the progress, options: `success` `exception` `active` | string | -
showInfo | determine whether to display the progress value and the status icon | boolean | true
status | to set the status of the Progress, options: `success` `exception` `active` | string | -
showInfo | whether to display the progress value and the status icon | boolean | true
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`
gapPosition `(type=circle)` | the gap position, options: `top` `bottom` `left` `right` | string | `top`

0 comments on commit 643b32d

Please sign in to comment.