Skip to content

Commit fdf8525

Browse files
authored
Add TS import example code
1 parent 6ebfe49 commit fdf8525

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ His contributions have been incredible so far, and his passion and dedication wi
6161
### Import the component
6262

6363
```jsx
64-
const ReactQuill = require('react-quill'); // CommonJS
6564
import ReactQuill from 'react-quill'; // ES6
65+
import * as ReactQuill from 'react-quill'; // Typescript
66+
const ReactQuill = require('react-quill'); // CommonJS
6667
```
6768

6869
### Import the stylesheet

0 commit comments

Comments
 (0)