File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,15 @@ time while active.
66
77## Install
88
9- Via [ npm] ( https://npmjs.com/package/react-timer-wrapper ) :
10- ```
9+ Via [ npm] ( https://npmjs.com/package/react-timer-wrapper )
10+
11+ ``` sh
1112npm install --save react-timer-wrapper
1213```
1314
14- Via [ Yarn] ( https://yarn.fyi/react-timer-wrapper ) :
15- ```
15+ Via [ Yarn] ( https://yarn.fyi/react-timer-wrapper )
16+
17+ ``` sh
1618yarn add react-timer-wrapper
1719```
1820
@@ -41,7 +43,7 @@ completion. Or, you can use it to track the time that occurs while it’s active
4143
4244#### Standalone
4345
44- ```
46+ ``` js
4547import Timer from ' react-timer-wrapper' ;
4648
4749...
@@ -84,7 +86,7 @@ import Timer from 'react-timer-wrapper';
8486
8587#### With children
8688
87- ```
89+ ``` js
8890import Timer from ' react-timer-wrapper' ;
8991import CircleIndicator from ' react-indicators' ;
9092
You can’t perform that action at this time.
0 commit comments