Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ All of the props under *Properties* in addition to the following:
|**`height`**|Height of the progress bar. |`6`|
|**`borderRadius`**|Rounding of corners, set to `0` to disable. |`4`|
|**`useNativeDriver`**|Use native driver for the animations. |`false`|
|**`animationConfig`**|Config that is passed into the `Animated` function|`{ bounciness: 0 }`|
|**`animationType`**|Animation type to animate the progress, one of: `decay`, `timing`, `spring`|`spring`|
|**`animationConfig`**|Config that is passed into the `Animated` function. |`{ bounciness: 0 }`|
|**`animationType`**|Animation type to animate the progress, one of: `decay`, `timing`, `spring`. |`spring`|

### `Progress.Circle`

Expand All @@ -74,8 +74,8 @@ All of the props under *Properties* in addition to the following:
|**`showsText`**|Whether or not to show a text representation of current progress. |`false`|
|**`formatText(progress)`**|A function returning a string to be displayed for the textual representation. |*See source*|
|**`textStyle`**|Styles for progress text, defaults to a same `color` as circle and `fontSize` proportional to `size` prop. |*None*|
|**`direction`**|Direction of the circle `clockwise` or `counter-clockwise` |`clockwise`|
|**`strokeCap`**|Stroke Cap style for the circle `butt`, `square` or `round` |`butt`|
|**`direction`**|Direction of the circle `clockwise` or `counter-clockwise`. |`clockwise`|
|**`strokeCap`**|Stroke Cap style for the circle `butt`, `square` or `round`. |`butt`|

### `Progress.Pie`

Expand All @@ -96,7 +96,7 @@ All of the props under *Properties* in addition to the following:
|**`thickness`**|Thickness of the circle. |`3`|
|**`duration`**|Duration of animation. |`1000`|
|**`spinDuration`**|Duration of spin (orbit) animation. |`5000`|
|**`strokeCap`**|Stroke Cap style for the circle `butt`, `square` or `round` |`round`|
|**`strokeCap`**|Stroke Cap style for the circle `butt`, `square` or `round`. |`round`|

## Examples

Expand Down