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{" "} click here {" "} to verify your email, then enter the following code:
{verificationCode}
If you didn’t request this, you can safely ignore this email. Best regards,
Fossorial
); }; export default VerifyEmail;