// tmp-babel/messages/web/GroupChatDetails/ProfileCard/MemberOptionsMenu/index.js
import { MenuItem, MenuList, Typography } from "@mui/material";
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var MemberOptionsMenu = function MemberOptionsMenu2(_ref) {
  var isMe = _ref.isMe, onViewProfileClicked = _ref.onViewProfileClicked, onRemoveClicked = _ref.onRemoveClicked;
  return /* @__PURE__ */ _jsxs(MenuList, {
    children: [/* @__PURE__ */ _jsx(MenuItem, {
      onClick: onViewProfileClicked,
      children: /* @__PURE__ */ _jsx(Typography, {
        variant: "body2",
        children: "View Profile"
      })
    }), isMe && /* @__PURE__ */ _jsx(MenuItem, {
      onClick: onRemoveClicked,
      children: /* @__PURE__ */ _jsx(Typography, {
        variant: "body2",
        color: "error",
        children: "Leave Group"
      })
    })]
  });
};
var MemberOptionsMenu_default = MemberOptionsMenu;

export {
  MemberOptionsMenu_default
};
//# sourceMappingURL=chunk-VBGVEXFB.mjs.map