react-countdown-circle-timer
react-countdown-circle-timer copied to clipboard
Added new prop: isGrowing
Hi, thank you for creating this package.
I had a use case where I needed the progress path to grow instead of shrink.
So I thought you might appreciate the contribution of an isGrowing prop.
In combination with rotation it solves my use case quite nicely.
I'm not sure how you handle versioning, so I have kept that out of the pr.
Hey @bonqus, thanks for the PR :) It seems you were trying to achieve counting up? Is that correct?
Hey @bonqus, thanks for the PR :) It seems you were trying to achieve counting up? Is that correct?
Not quite, it's still a countdown but the progress path just grows as the duration time reaches the end, instead of shrinking until it disappears.
So for a 10-second timer, where 2 seconds have past it would look like this:

But this would also be nice in the context of counting up to some set duration.
That's cool :) Can you add please some tests for this new feature and I can merge it? You can do something similar to what I have for the tests in the web and mobile packages.
That's cool :) Can you add please some tests for this new feature and I can merge it? You can do something similar to what I have for the tests in the web and mobile packages.
For sure, I will add it to the PR shortly :)
That's cool :) Can you add please some tests for this new feature and I can merge it? You can do something similar to what I have for the tests in the web and mobile packages.
Hey bro, are u here?
Hedonismv
Hi, Yeah, sorry I've been and am currently unable to prioritize writing the test.
Great, lets push it :)
This is great! Is it going to be merged?
Hey @bonqus, here is a commit with the tests for the isGrowing prop. Please either add them to your PR or I will create a new PR for this feature. It seems this is feature that people need, so lets get it out!
Hey @bonqus, here is a commit with the tests for the
isGrowingprop. Please either add them to your PR or I will create a new PR for this feature. It seems this is feature that people need, so lets get it out!
I've added the tests, thank you for writing them.
Great job! Thanks for the PR. I am now merging this it.