diff --git a/README.md b/README.md index 0013285..971715b 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,17 @@ You can also define a function, that'll receive current progress and for example ``` +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 + +``` +```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: