diff --git a/src/index.js b/src/index.js index c9c76bb7..8fac00ef 100644 --- a/src/index.js +++ b/src/index.js @@ -3,8 +3,10 @@ React-Quill v1.0.0 https://github.com/zenoamaro/react-quill */ var Quill = require('quill'); +var Component = require('./component'); -module.exports = require('./component'); +module.exports = Component; +module.exports.default = Component; module.exports.Quill = Quill; module.exports.Mixin = require('./mixin'); module.exports.Toolbar = require('./toolbar');