import { Trans } from '@lingui/macro'; import { Button, Column, Img, Section, Text } from '../components'; import { TemplateDocumentImage } from './template-document-image'; export interface TemplateDocumentCompletedProps { downloadLink: string; documentName: string; assetBaseUrl: string; customBody?: string; } export const TemplateDocumentCompleted = ({ downloadLink, documentName, assetBaseUrl, customBody, }: TemplateDocumentCompletedProps) => { const getAssetUrl = (path: string) => { return new URL(path, assetBaseUrl).toString(); }; return ( <>
Completed
{customBody || “{documentName}” was signed by all signers} Continue by downloading the document.
); }; export default TemplateDocumentCompleted;