import { Body, Container, Head, Heading, Html, Preview, Section, Text, Tailwind } from "@react-email/components"; import * as React from "react"; import LetterHead from "./components/LetterHead"; interface Props { email: string; code: string; link: string; } export const ResetPasswordCode = ({ email, code, link }: Props) => { const previewText = `Your password reset code is ${code}`; return ( {previewText} Password Reset Request Hi {email || "there"}, You’ve requested to reset your password. Please{" "} click here {" "} and follow the instructions to reset your password, or manually enter the following code:
{code}
If you didn’t request this, you can safely ignore this email. Best regards,
Fossorial
); }; export default ResetPasswordCode;