React Timer
Getting Started
IntroductionInstallationChangelog
APIAdvanced ExamplesExamplesPlayground

API

NameTypeDescription
childrenobject (required)Define your react component here
startnumber (required)A start value for the timer
endfunction (required)A function which determines the end for the timer
intervalnumberAn interval value for the timer. Default is 1 second
onTickfunction (required)A callback function where the next computed value is determined
onEndfunctionA callback function which executes when the timer stops executing