Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

560 B
Raw Blame
import type { Locale } from "@reactive-resume/utils/locale";
import { verifyEmailChange } from "./auth";

type PreviewProps = { url: string; previousEmail: string; newEmail: string; locale: Locale };
const VerifyEmailChangePreview = (props: PreviewProps) => verifyEmailChange(props).react;

export default Object.assign(VerifyEmailChangePreview, {
	PreviewProps: {
		url: "https://localhost:3000/auth/verify-email-change?token=example-token",
		previousEmail: "[email protected]",
		newEmail: "[email protected]",
		locale: "en-US",
	} satisfies PreviewProps,
});