File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ bower install --save react-progress-bar-plus
21
21
### JS
22
22
23
23
``` js
24
- var ProgressBar = require (' react-progress-bar-plus' );
24
+ const ProgressBar = require (' react-progress-bar-plus' );
25
25
26
26
< ProgressBar percent= {10 }/ >
27
27
```
@@ -43,14 +43,12 @@ require('react-progress-bar-plus/lib/progress-bar.css');
43
43
### UMD
44
44
45
45
``` html
46
- <link rel =" stylesheet" type =" text/css" href =" path/to/react-progress-bar-plus/dist/progress-bar.css" >
46
+ <link rel =" stylesheet" type =" text/css" href =" path/to/react-progress-bar-plus/dist/react- progress-bar-plus .css" >
47
47
<script src =" path/to/react-progress-bar-plus/dist/react-progress-bar-plus.js" ></script >
48
48
```
49
49
50
50
``` js
51
- ...
52
- var ProgressBar = window .ReactProgressBarPlus ;
53
- ...
51
+ const ProgressBar = window .ReactProgressBarPlus ;
54
52
```
55
53
56
54
Example [ here] ( http://codepen.io/vn38minhtran/pen/QjaZrm )
You can’t perform that action at this time.
0 commit comments