1.0.2 • Published 5 years ago
simplified-timer v1.0.2
Plug and play with timer
- Start
- Stop
- Reset
It works on render props principle.
Directions to use
import Timer from "simplified-timer"
<Timer>
{({ value, stopTimer, startTimer, resetTimer })=>{
<App />
}}
</Timer>