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 VerifyEmailProps { username?: string; verificationCode: string; verifyLink: string; } export const VerifyEmail = ({ username, verificationCode, verifyLink }: VerifyEmailProps) => { const previewText = `Your verification code is ${verificationCode}`; return ( {previewText} Please Verify Your Email Hi {username || "there"}, You’ve requested to verify your email. Please use the code below to complete the verification process upon logging in. If you didn’t request this, you can safely ignore this email. ); }; export default VerifyEmail;