-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMedSpaCMS.tsx
28 lines (27 loc) · 921 Bytes
/
MedSpaCMS.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { CommonEmailVariables, Events } from "shared-types";
import { Container, Html } from "@react-email/components";
import { WithdrawRAI, PackageDetails, BasicFooter } from "../../email-components";
export const MedSpaCMSEmail = (props: {
variables: Events["WithdrawRai"] & 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,
"SPA Package ID": variables.id,
Summary: variables.additionalInformation,
}}
// attachments={variables.attachments}
/>
<BasicFooter />
</Container>
</Html>
);
};