"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _constants = require("../constants");
var _menu = require("./menu");
const ExpandEditorMenu = _ref => {
  let {
    readonly,
    isRichEditor,
    onExpandEditorToggle,
    className
  } = _ref;
  const config = _constants.MENUS_CONFIG_MAP[_constants.EXPAND_EDITOR];
  return /*#__PURE__*/_react.default.createElement(_menu.MenuItem, Object.assign({
    disabled: readonly,
    isActive: false,
    isRichEditor: isRichEditor,
    type: _constants.EXPAND_EDITOR,
    onMouseDown: onExpandEditorToggle,
    className: className
  }, config));
};
var _default = exports.default = ExpandEditorMenu;