import { Trans } from '@lingui/react/macro'; import { Button, Heading, Text } from '../components'; export interface TemplateDocumentRejectedProps { documentName: string; recipientName: string; rejectionReason?: string; documentUrl: string; } export function TemplateDocumentRejected({ documentName, recipientName: signerName, rejectionReason, documentUrl, }: TemplateDocumentRejectedProps) { return (
Document Rejected {signerName} has rejected the document "{documentName}". {rejectionReason && ( Reason for rejection: {rejectionReason} )} You can view the document and its status by clicking the button below.
); }