// tmp-babel/navigations/web/Header/AccountMenu/AccountPopover/MenuItems/index.js
import { Box, List, MenuItem, Stack } from "@mui/material";
import { jsx as _jsx } from "react/jsx-runtime";
var MenuItems = function MenuItems2(_ref) {
  var handlePopoverOnClose = _ref.handlePopoverOnClose, menuItems = _ref.menuItems;
  if (!menuItems || !menuItems.length) return null;
  return /* @__PURE__ */ _jsx(Box, {
    margin: 1.5,
    children: /* @__PURE__ */ _jsx(Stack, {
      component: List,
      children: menuItems === null || menuItems === void 0 ? void 0 : menuItems.map(function(item) {
        return /* @__PURE__ */ _jsx(MenuItem, {
          onClick: function onClick() {
            item.onClick();
            handlePopoverOnClose();
          },
          children: item.label
        }, item.label);
      })
    })
  });
};
var MenuItems_default = MenuItems;

export {
  MenuItems_default
};
//# sourceMappingURL=chunk-3NAERPFL.mjs.map