synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
35 lines (34 loc) • 837 B
JavaScript
import { jsx as t } from "react/jsx-runtime";
import { SRC_SIGN_IN_CLASS as c } from "../../utils/SynapseConstants.js";
import { ConfirmationDialog as e } from "../ConfirmationDialog/ConfirmationDialog.js";
const m = "Sign in", s = "You will need to sign in for access to that resource.", f = "Sign In Required";
function a({
onHide: n,
content: r = s,
open: i = !0,
...o
}) {
return /* @__PURE__ */ t(
e,
{
...o,
open: i,
title: f,
content: r,
onCancel: n,
onConfirm: n,
confirmButtonProps: {
...o.confirmButtonProps,
children: o.confirmButtonProps?.children ?? m,
className: c
}
}
);
}
export {
m as CONFIRM_BUTTON_TEXT,
s as DEFAULT_CONTENT,
a as SignInRequiredModal,
f as TITLE
};
//# sourceMappingURL=SignInRequiredModal.js.map