import{MenuItem as n,MenuList as s,Typography as o}from"@mui/material";import{jsx as e,Fragment as v,jsxs as r}from"react/jsx-runtime";var C=function(i){var a=i.isArchived,t=i.isArchiveMutationInFlight,c=i.isGroup,l=i.onArchiveClicked,h=i.onDetailsClicked,d=i.onLeaveClicked;return r(s,{children:[e(n,{onClick:l,disabled:t,children:e(o,{variant:"body2",children:a?"Unarchive Chat":"Archive Chat"})}),c?r(v,{children:[e(n,{onClick:h,children:e(o,{variant:"body2",children:"Group Details"})}),e(n,{onClick:d,children:e(o,{variant:"body2",color:"error",children:"Leave Group"})})]}):null]})},m=C;export{m as a};
//# sourceMappingURL=chunk-MK2TH4QY.mjs.map