import React from "react";
import { i18n } from '@fishx/i18n';
import { ReactComponent as MarginIcon } from "@svgr/webpack!../../../assets/icons/fullscreen.svg";
import Settings from "../components/PMSettings";
import Action from "../components/Action";
export default {
  name: "pb-editor-page-element-settings-margin",
  type: "pb-editor-page-element-settings",
  renderAction: function renderAction() {
    return /*#__PURE__*/React.createElement(Action, {
      tooltip: i18n('PAGEBUIDER_SETTINGS_MARGIN'),
      plugin: this.name,
      icon: /*#__PURE__*/React.createElement(MarginIcon, null)
    });
  },
  renderMenu: function renderMenu() {
    return /*#__PURE__*/React.createElement(Settings, {
      title: i18n('PAGEBUIDER_SETTINGS_MARGIN'),
      styleAttribute: "margin"
    });
  }
};
//# sourceMappingURL=index.js.map