UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

35 lines (34 loc) 837 B
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