We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
totalSeconds
1 parent 46aad20 commit 6f9dfc7Copy full SHA for 6f9dfc7
2 files changed
readme.md
@@ -24,6 +24,7 @@ import { useTimer } from 'react-timer-hook';
24
25
function MyTimer({ expiryTimestamp }) {
26
const {
27
+ totalSeconds,
28
seconds,
29
minutes,
30
hours,
@@ -105,6 +106,7 @@ import { useStopwatch } from 'react-timer-hook';
105
106
107
function MyStopwatch() {
108
109
110
111
112
src/index.d.ts
@@ -5,6 +5,7 @@ interface TimerSettings {
5
}
6
7
interface TimerResult {
8
+ totalSeconds: number;
9
seconds: number;
10
minutes: number;
11
hours: number;
@@ -24,6 +25,7 @@ interface StopwatchSettings {
interface StopwatchResult {
31
0 commit comments