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.
6
6
7
7
## Install
8
8
9
- Via [ npm] ( https://npmjs.com/package/react-timer-wrapper ) :
10
- ```
9
+ Via [ npm] ( https://npmjs.com/package/react-timer-wrapper )
10
+
11
+ ``` sh
11
12
npm install --save react-timer-wrapper
12
13
```
13
14
14
- Via [ Yarn] ( https://yarn.fyi/react-timer-wrapper ) :
15
- ```
15
+ Via [ Yarn] ( https://yarn.fyi/react-timer-wrapper )
16
+
17
+ ``` sh
16
18
yarn add react-timer-wrapper
17
19
```
18
20
@@ -41,7 +43,7 @@ completion. Or, you can use it to track the time that occurs while it’s active
41
43
42
44
#### Standalone
43
45
44
- ```
46
+ ``` js
45
47
import Timer from ' react-timer-wrapper' ;
46
48
47
49
...
@@ -84,7 +86,7 @@ import Timer from 'react-timer-wrapper';
84
86
85
87
#### With children
86
88
87
- ```
89
+ ``` js
88
90
import Timer from ' react-timer-wrapper' ;
89
91
import CircleIndicator from ' react-indicators' ;
90
92
You can’t perform that action at this time.
0 commit comments