lib/libs/email/content/withdrawRai/emailTemplates/MedSpaState.tsx
import { CommonEmailVariables, Events } from "shared-types";
import { Container, Html } from "@react-email/components";
import { WithdrawRAI, PackageDetails, FollowUpNotice } from "../../email-components";
export const MedSpaStateEmail = (props: {
variables: Events["RespondToRai"] & CommonEmailVariables;
relatedEvent: any;
}) => {
const { variables, relatedEvent } = { ...props };
return (
<Html lang="en" dir="ltr">
<Container>
<WithdrawRAI {...variables} />
<PackageDetails
details={{
"State or Territory": variables.territory,
Name: relatedEvent.submitterName,
"Email Address": relatedEvent.submitterEmail,
"Medicaid SPA Package ID": variables.id,
Summary: variables.additionalInformation,
}}
/>
<FollowUpNotice />
</Container>
</Html>
);
};