import { Body, Button, Container, Column, Head, Heading, Hr, Html, Img, Link, Preview, Row, Section, Text, Tailwind, } from "@react-email/components"; interface BetterAuthInviteUserEmailProps { username?: string; invitedByUsername?: string; invitedByEmail?: string; teamName?: string; teamImage?: string; inviteLink?: string; } export const InviteUserEmail = ({ username, invitedByUsername, invitedByEmail, teamName, teamImage, inviteLink, }: BetterAuthInviteUserEmailProps) => { const previewText = `Join ${invitedByUsername} on BetterAuth`; return ( {previewText} Join {invitedByUsername} on{" "} Better Auth. Hello there, {invitedByUsername} ( {invitedByEmail} ) has invited you to the {teamName} team on{" "} Better Auth.
{teamImage ? ( ) : null}
or copy and paste this URL into your browser:{" "} {inviteLink}
This invitation was intended for{" "} {username}. If you were not expecting this invitation, you can ignore this email.
); }; export function reactInvitationEmail(props: BetterAuthInviteUserEmailProps) { console.log(props); return ; }