Closed saviomartin closed 3 years ago
How do you use the component? Can you share your code for the component?
I somehow was able to fix it up!
I faced the same issue. My mistake was making a string the child of CountdownCircleTimer
.
<CountdownCircleTimer>
hello
</CountdownCircleTimer>
It should be a function.
Like
<CountdownCircleTimer>
{({ remainingTime }) => remainingTime}
</CountdownCircleTimer>
Hope it helps someone.
I'm getting this error.