@frank-auth/react
Version:
Flexible and customizable React UI components for Frank Authentication
36 lines (35 loc) • 1.01 kB
JavaScript
'use client';
import { jsxs as e, jsx as i } from "react/jsx-runtime";
import { withErrorBoundary as l } from "../../common/error-boundary.js";
import "@emotion/styled";
import { Modal as c, ModalHeader as m, ModalBody as d } from "../../../ui/modal/modal.js";
import { EmailVerification as n } from "./email-verification.js";
const h = l(
function({
isOpen: r,
onClose: a,
isDismissable: t = !0,
...o
}) {
return /* @__PURE__ */ e(
c,
{
isOpen: r,
onClose: a,
isDismissable: t,
size: o.modalSize,
classNames: {
backdrop: "bg-gradient-to-t from-zinc-900 to-zinc-900/10 backdrop-opacity-20"
},
children: [
/* @__PURE__ */ i(m, { className: "flex flex-col gap-1", children: "Email Verification" }),
/* @__PURE__ */ i(d, { children: /* @__PURE__ */ i(n, { ...o }) })
]
}
);
}
);
export {
h as EmailVerificationModal
};
//# sourceMappingURL=email-verification-modal.js.map