We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae3397 commit bc0c354Copy full SHA for bc0c354
README.md
@@ -97,13 +97,15 @@ yarn add html-react-parser
97
98
## Usage
99
100
-Import or require the module:
+Import ES module:
101
102
```js
103
-// ES Modules
104
import parse from 'html-react-parser';
+```
105
+
106
+Or require CommonJS module:
107
-// CommonJS
108
+```js
109
const parse = require('html-react-parser');
110
```
111
0 commit comments