File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import { useTimer } from 'react-timer-hook';
2424
2525function MyTimer ({ expiryTimestamp }) {
2626 const {
27+ totalSeconds ,
2728 seconds ,
2829 minutes ,
2930 hours ,
@@ -105,6 +106,7 @@ import { useStopwatch } from 'react-timer-hook';
105106
106107function MyStopwatch () {
107108 const {
109+ totalSeconds ,
108110 seconds ,
109111 minutes ,
110112 hours ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ interface TimerSettings {
55}
66
77interface TimerResult {
8+ totalSeconds : number ;
89 seconds : number ;
910 minutes : number ;
1011 hours : number ;
@@ -24,6 +25,7 @@ interface StopwatchSettings {
2425}
2526
2627interface StopwatchResult {
28+ totalSeconds : number ;
2729 seconds : number ;
2830 minutes : number ;
2931 hours : number ;
You can’t perform that action at this time.
0 commit comments