synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
30 lines (29 loc) • 945 B
JavaScript
import { jsx as o } from "react/jsx-runtime";
import * as i from "../../synapse-client/SynapseClient.js";
import "@sage-bionetworks/synapse-client/generated/models/ErrorResponseCode";
import "@sage-bionetworks/synapse-client/generated/models/TwoFactorAuthErrorResponse";
import "@sage-bionetworks/synapse-client/util/SynapseClientError";
import "@sage-bionetworks/synapse-types";
import "../../utils/functions/EntityTypeUtils.js";
import "../../utils/SynapseConstants.js";
import "lodash-es";
import "@sage-bionetworks/synapse-client/util/synapseClientFetch";
import { Button as m } from "@mui/material";
function g(t) {
const { callback: r } = t;
return /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
m,
{
variant: "contained",
color: "primary",
onClick: () => {
i.signOut().then(r);
},
children: "Log out"
}
) });
}
export {
g as default
};
//# sourceMappingURL=Logout.js.map