Test your own timer component here:
<ReactTimer start={0} end={(value) => value === 30} onEnd={(value) => console.log('ENDED WITH VALUE', value)} onTick={(value) => value + 1}> {(time) => <div>{time}</div>} </ReactTimer>