You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,7 @@ completion. Or, you can use it to track the time that occurs while it’s active
31
31
### Properties
32
32
33
33
*`active:Boolean` - Start/stop the timer. (Default: `false`)
34
+
*`component:String | Element` - Element or React component used to render/wrap the children. (Default: `div`)
34
35
*`duration:Number` - Enables countdown mode and is the number of milliseconds to count before firing `onFinish`. (Default: `10000`)
35
36
*`loop:Boolean` - Enable looping of the countdown timer. (Default: `false`)
36
37
*`time:Number` - Either used as a time offset for the duration when used as a countdown timer, or the initial time to start from when used for tracking time. (Default: `0`)
@@ -125,4 +126,4 @@ to communicate the status of the timer.
0 commit comments