index.js 212 B

123456789101112
  1. export default [
  2. "TextEditor",
  3. "ColorEditor",
  4. "Numbers",
  5. "FormEditor",
  6. "BoolEditor",
  7. "ActionEditor",
  8. "ModuleEditor"
  9. ].reduce((acc, item) => {
  10. acc[item] = require('./' + item).default;
  11. return acc;
  12. }, {});