Skip to content

Commit 0fc4790

Browse files
committed
Import
1 parent 3c28ce0 commit 0fc4790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ React component for syntax highlighting using highlight.js
2525
#### Importing component
2626

2727
```js
28-
const Highlight = require('react-highlight')
28+
import Highlight from 'react-highlight'
2929
```
3030

3131
#### Adding styles

0 commit comments

Comments
 (0)