Skip to content

Commit e3474a9

Browse files
committed
add days in use timer demo
1 parent 1fd3c7d commit e3474a9

File tree

2 files changed

+41
-5
lines changed

2 files changed

+41
-5
lines changed

demo/components/UseTimerDemo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default function UseTimerDemo({ expiryTimestamp }) {
2121
<div style={{ textAlign: 'center' }}>
2222
<h1>react-timer-hook </h1>
2323
<p>Timer Demo</p>
24-
<StyledTimer seconds={seconds} minutes={minutes} hours={hours}/>
24+
<StyledTimer seconds={seconds} minutes={minutes} hours={hours} days={days} />
2525
<p>{isRunning ? 'Running' : 'Not running'}</p>
2626
<Button type="button" onClick={start}>Start</Button>
2727
<Button type="button" onClick={pause}>Pause</Button>

0 commit comments

Comments
 (0)