"use strict";Object.defineProperty(exports, "__esModule", {value: true});// tmp-babel/navigations/web/Header/AccountMenu/AccountPopover/MenuItems/index.js
var _material = require('@mui/material');
var _jsxruntime = require('react/jsx-runtime');
var MenuItems = function MenuItems2(_ref) {
  var handlePopoverOnClose = _ref.handlePopoverOnClose, menuItems = _ref.menuItems;
  if (!menuItems || !menuItems.length) return null;
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Box, {
    margin: 1.5,
    children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Stack, {
      component: _material.List,
      children: menuItems === null || menuItems === void 0 ? void 0 : menuItems.map(function(item) {
        return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.MenuItem, {
          onClick: function onClick() {
            item.onClick();
            handlePopoverOnClose();
          },
          children: item.label
        }, item.label);
      })
    })
  });
};
var MenuItems_default = MenuItems;



exports.MenuItems_default = MenuItems_default;
//# sourceMappingURL=chunk-XD7VWH54.js.map