Skip to content

Commit cb099c8

Browse files
authored
Add default export (zenoamaro#374) (zenoamaro#384)
1 parent 6c0cc6c commit cb099c8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ React-Quill v1.0.0
33
https://github.com/zenoamaro/react-quill
44
*/
55
var Quill = require('quill');
6+
var Component = require('./component');
67

7-
module.exports = require('./component');
8+
module.exports = Component;
9+
module.exports.default = Component;
810
module.exports.Quill = Quill;
911
module.exports.Mixin = require('./mixin');
1012
module.exports.Toolbar = require('./toolbar');

0 commit comments

Comments
 (0)