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';
24
24
25
25
function MyTimer ({ expiryTimestamp }) {
26
26
const {
27
+ totalSeconds ,
27
28
seconds ,
28
29
minutes ,
29
30
hours ,
@@ -105,6 +106,7 @@ import { useStopwatch } from 'react-timer-hook';
105
106
106
107
function MyStopwatch () {
107
108
const {
109
+ totalSeconds ,
108
110
seconds ,
109
111
minutes ,
110
112
hours ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ interface TimerSettings {
5
5
}
6
6
7
7
interface TimerResult {
8
+ totalSeconds : number ;
8
9
seconds : number ;
9
10
minutes : number ;
10
11
hours : number ;
@@ -24,6 +25,7 @@ interface StopwatchSettings {
24
25
}
25
26
26
27
interface StopwatchResult {
28
+ totalSeconds : number ;
27
29
seconds : number ;
28
30
minutes : number ;
29
31
hours : number ;
You can’t perform that action at this time.
0 commit comments