Enterprise-CMCS/macpro-mako

View on GitHub
lib/libs/email/preview/Withdraw Rai/State/AppK.tsx

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
import { AppKStateEmail } from "lib/libs/email/content/withdrawRai/emailTemplates";
import { emailTemplateValue } from "lib/libs/email/mock-data/withdraw-rai";
import * as attachments from "../../../mock-data/attachments";

export const relatedEvent = {
  submitterName: "George",
  submitterEmail: "test@email.com",
};

export default () => (
  <AppKStateEmail
    relatedEvent={relatedEvent}
    variables={{
      ...emailTemplateValue,
      origin: "mako",
      event: "respond-to-rai",
      id: "CO-1234.R21.00",
      authority: "1915(c)",
      actionType: "Amend",
      territory: "CO",
      title: "A Perfect Appendix K Amendment Title",
      attachments: {
        revisedAmendedStatePlanLanguage: attachments.other,
        officialRAIResponse: attachments.other,
        budgetDocuments: attachments.budgetDocuments,
        publicNotice: attachments.publicNotice,
        tribalConsultation: attachments.tribalConsultation,
        other: attachments.other,
      },
    }}
  />
);