Then we'll wire up the "Reset" button to a function that resets the stopwatch back to ... setState to set the elapsedTime state back to 0.
確定! 回上一頁