"use strict";Object.defineProperty(exports, "__esModule", {value: true});// tmp-babel/navigations/web/Header/AccountMenu/AccountPopover/LogoutItem/index.js
var _authentication = require('@baseapp-frontend/authentication');
var _material = require('@mui/material');
var _jsxruntime = require('react/jsx-runtime');
var LogoutItem = function LogoutItem2(_ref) {
  var handlePopoverOnClose = _ref.handlePopoverOnClose, _ref$logoutButtonLabe = _ref.logoutButtonLabel, logoutButtonLabel = _ref$logoutButtonLabe === void 0 ? "Logout" : _ref$logoutButtonLabe;
  var _useLogout = _authentication.useLogout.call(void 0, ), logout = _useLogout.logout;
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.MenuItem, {
    type: "button",
    tabIndex: 0,
    component: _material.ButtonBase,
    onClick: function onClick() {
      handlePopoverOnClose();
      logout();
    },
    sx: {
      fontWeight: "fontWeightBold",
      color: "error.main"
    },
    children: logoutButtonLabel
  });
};
var LogoutItem_default = LogoutItem;



exports.LogoutItem_default = LogoutItem_default;
//# sourceMappingURL=chunk-BPTGOXER.js.map