index.js 228 B

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