File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ Include the script file and all dependencies.
40
40
> Note: keep reading for examples using webpack/rollup/or some other modern web bundler.
41
41
42
42
``` html
43
+ <
link rel =
" stylesheet" href =
" https://unpkg.com/[email protected] /dist/pretty-checkbox.min.css" />
43
44
<script type =" text/javascript" src =" node_modules/react/umd/react.production.min.js" ></script >
44
45
<script type =" text/javascript" src =" node_modules/react-dom/umd/react-dom.production.min.js" ></script >
45
46
<script type =" text/javascript" src =" node_modules/pretty-checkbox-react/dist/pretty-checkbox-react.min.js" ></script >
@@ -70,6 +71,7 @@ If you're using webpack or rollup then with JSX you can write this more succulen
70
71
``` jsx
71
72
import React from ' react' ;
72
73
import ReactDOM from ' react-dom' ;
74
+ import ' pretty-checkbox' ;
73
75
74
76
import { Checkbox } from ' pretty-checkbox-react' ;
75
77
You can’t perform that action at this time.
0 commit comments