import * as React from "react"; // import { addReducer } from "@whalecloud/page-builder/editor/redux";
// import { ELEMENT_DROPPED } from "@whalecloud/page-builder/editor/actions";

import { ReactComponent as AddIcon } from "@svgr/webpack!../../../assets/icons/add_circle_outline.svg";
import AddElement from "./AddElement";
import Action from "../Action";
// addReducer([ELEMENT_DROPPED], "ui.activeElement", () => null);
export default {
  name: "pb-editor-toolbar-add-element",
  type: "pb-editor-toolbar-top",
  renderAction: function renderAction() {
    return /*#__PURE__*/React.createElement(Action, {
      tooltip: "Add Element",
      plugin: this.name,
      icon: /*#__PURE__*/React.createElement(AddIcon, null)
    });
  },
  renderDrawer: function renderDrawer() {
    return /*#__PURE__*/React.createElement(AddElement, null);
  }
};
//# sourceMappingURL=index.js.map