import { Body, Head, Html, Preview, Tailwind } from "@react-email/components"; import * as React from "react"; import { themeColors } from "./lib/theme"; import { EmailContainer, EmailFooter, EmailGreeting, EmailHeading, EmailLetterHead, EmailSection, EmailSignature, EmailText } from "./components/Email"; import CopyCodeBox from "./components/CopyCodeBox"; 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: If you didn’t request this, you can safely ignore this email. ); }; export default ResetPasswordCode;