import{useLogout as i}from"@baseapp-frontend/authentication";import{Box as a,ButtonBase as s,MenuItem as g}from"@mui/material";import{jsx as m,jsxs as c}from"react/jsx-runtime";var d=function(o){var e=o.children,n=o.handlePopoverOnClose,t=o.logoutButtonLabel,l=t===void 0?"Logout":t,r=i(),u=r.logout;return c(a,{margin:1.5,display:"flex",flexDirection:"column",gap:.5,children:[e,m(g,{type:"button",tabIndex:0,component:s,onClick:function(){n(),u()},sx:{fontWeight:"fontWeightBold",color:"error.main"},children:l})]})},B=d;export{B as a};
//# sourceMappingURL=chunk-MHJ23L5Q.mjs.map