"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxDevRuntime = require("react/jsx-dev-runtime");
const react = require("react");
const reactIdentity = require("@contember/react-identity");
const defaultComponent = ({ onClick, children }) => /* @__PURE__ */ jsxDevRuntime.jsxDEV("a", { href: "#", onClick, children }, void 0, false, {
  fileName: "/__w/interface/interface/packages/admin/src/components/LogoutLink.tsx",
  lineNumber: 16,
  columnNumber: 2
}, void 0);
const LogoutLink = react.memo((props) => {
  const onLogout = reactIdentity.useLogout();
  const Component = props.Component || defaultComponent;
  return /* @__PURE__ */ jsxDevRuntime.jsxDEV(Component, { onClick: onLogout, children: props.children }, void 0, false, {
    fileName: "/__w/interface/interface/packages/admin/src/components/LogoutLink.tsx",
    lineNumber: 27,
    columnNumber: 9
  }, void 0);
});
LogoutLink.displayName = "LogoutLink";
exports.LogoutLink = LogoutLink;
//# sourceMappingURL=LogoutLink.cjs.map
