mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-25 16:25:58 +00:00
Update README.md
This commit is contained in:
parent
2c04c79d51
commit
1231cf2113
11
README.md
11
README.md
@ -48,6 +48,17 @@ You can also define a function, that'll receive current progress and for example
|
||||
</AnimatedCircularProgress>
|
||||
```
|
||||
|
||||
Finally, you can manually trigger a duration-based timing animation by putting a ref on the component and calling the `performLinearAnimation(toValue, duration)` function like so:
|
||||
```jsx
|
||||
<AnimatedCircularProgress
|
||||
ref='circularProgress'
|
||||
...
|
||||
/>
|
||||
```
|
||||
```javascript
|
||||
this.refs.circularProgress.performLinearAnimation(100, 8000); // Will fill the progress bar linearly in 8 seconds
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
You can configure the passing by following props:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user