Skip to content

Commit 1502e98

Browse files
committed
Updating example
1 parent 726f9f3 commit 1502e98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Include the script file and all dependencies.
4040
> Note: keep reading for examples using webpack/rollup/or some other modern web bundler.
4141
4242
```html
43+
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/pretty-checkbox.min.css" />
4344
<script type="text/javascript" src="node_modules/react/umd/react.production.min.js"></script>
4445
<script type="text/javascript" src="node_modules/react-dom/umd/react-dom.production.min.js"></script>
4546
<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
7071
```jsx
7172
import React from 'react';
7273
import ReactDOM from 'react-dom';
74+
import 'pretty-checkbox';
7375

7476
import { Checkbox } from 'pretty-checkbox-react';
7577

0 commit comments

Comments
 (0)