import React from 'react' import { Html, Head, Preview, Body, Container, Heading, Text, Section, Button, Hr } from '@react-email/components' export type VerificationEmailCopy = { preview: string heading: string greeting: string body: string cta: string expiry: string marketingConsent: string footer: string } type VerificationEmailProps = { verifyUrl: string copy: VerificationEmailCopy } export default function VerificationEmail({ verifyUrl, copy }: VerificationEmailProps) { return ( {copy.heading} {copy.preview} {copy.heading} {copy.greeting} {copy.body}
{copy.expiry} {copy.marketingConsent}
{copy.footer}
) }