import { Body, Container, Head, Heading, Html, Preview, Section, Text, Tailwind } from "@react-email/components"; import * as React from "react"; interface VerifyEmailProps { username?: string; verificationCode: string; verifyLink: string; } export const VerifyEmail = ({ username, verificationCode, verifyLink }: VerifyEmailProps) => { const previewText = `Verify your email, ${username}`; 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.
{verificationCode}
If you didn’t request this, you can safely ignore this email. Best regards,
Fossorial
); }; export default VerifyEmail;