import { Container, Text } from "@react-email/components";
import React from "react";
import { EmailFooter } from "../general/email-footer";

interface InviteAcceptedEmailProps {
  inviterName: string;
  inviteeName: string;
}

export function InviteAcceptedEmail({ inviterName, inviteeName }: InviteAcceptedEmailProps) {
  return (
    <Container>
      <Text>Hey {inviterName},</Text>
      <Text>Just letting you know that {inviteeName} accepted your invitation. Have fun collaborating! </Text>
      <EmailFooter />
    </Container>
  );
}
