HCLTech Interview Question

implement a count down timer in react.js