AXS interview question

Code a stopwatch in React.