vydimitrov / react-countdown-circle-timer

Lightweight React/React Native countdown timer component with color and progress animation based on SVG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start at prop

hovo96 opened this issue · comments

Hi thank you for creating this package.
I need timer with this logic
from start it can apply some duration which is the task duration, ex. 100 seconds
after 100 seconds was passed need to go to minus to infinity
How can I achieve this?
and after app will closed and opened again I will receive the same 100 duration from back end + working_duration which will be more than 100 and in this case need to render at the center working_duration with minus value
maybe for this is missing some startAt prop ?

Hey, how about using the initialRemainingTime prop?

Otherwise, after the 100 seconds onComplete will fire and then you can set new duration and hide the progress and show the time in the circle as negative number.

Closing due to inactivity