UNPKG

react-img-editor-pro

Version:

图片编辑器(微信截图编辑 PRO 版),来自 react-img-editor

21 lines (17 loc) 768 B
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } import Arrow from './Arrow'; import Circle from './Circle'; import Crop from './Crop'; import Download from './Download'; import Eraser from './Eraser'; import Mosaic from './Mosaic'; import Pen from './Pen'; import Rect from './Rect'; import Repeal from './Repeal'; import Text from './Text'; import Save from './Save'; var PluginFactory = function PluginFactory() { _classCallCheck(this, PluginFactory); this.plugins = [new Arrow(), new Circle(), new Crop(), new Download(), new Eraser(), new Mosaic(), new Pen(), new Rect(), new Repeal(), new Text(), new Save()]; }; export { PluginFactory as default };