import { Trans, msg } from '@lingui/macro'; import { useLingui } from '@lingui/react'; import { Body, Container, Head, Hr, Html, Img, Preview, Section, Text } from '../components'; import type { TemplateDocumentCancelProps } from '../template-components/template-document-cancel'; import TemplateDocumentImage from '../template-components/template-document-image'; import { TemplateFooter } from '../template-components/template-footer'; export type DocumentCancelEmailTemplateProps = Partial; export const RecipientRemovedFromDocumentTemplate = ({ inviterName = 'Lucas Smith', documentName = 'Open Source Pledge.pdf', assetBaseUrl = 'http://localhost:3002', }: DocumentCancelEmailTemplateProps) => { const { _ } = useLingui(); const previewText = msg`${inviterName} has removed you from the document ${documentName}.`; const getAssetUrl = (path: string) => { return new URL(path, assetBaseUrl).toString(); }; return ( {_(previewText)}
Documenso Logo
{inviterName} has removed you from the document
"{documentName}"

); }; export default RecipientRemovedFromDocumentTemplate;