import { Body, Container, Head, Heading, Html, Preview, Section, Text, Tailwind } from "@react-email/components"; import * as React from "react"; interface Props { email: string; code: string; link: string; } export const ResetPasswordCode = ({ email, code, link }: Props) => { const previewText = `Reset your password, ${email}`; return ( {previewText} You've requested to reset your password 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.
); }; export default ResetPasswordCode;