mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
34 lines
884 B
TypeScript
34 lines
884 B
TypeScript
import { Section, Text } from '../components';
|
|
import { TemplateDocumentImage } from './template-document-image';
|
|
|
|
export interface TemplateDocumentDeleteProps {
|
|
reason: string;
|
|
documentName: string;
|
|
assetBaseUrl: string;
|
|
}
|
|
|
|
export const TemplateDocumentDelete = ({
|
|
reason,
|
|
documentName,
|
|
assetBaseUrl,
|
|
}: TemplateDocumentDeleteProps) => {
|
|
return (
|
|
<>
|
|
<TemplateDocumentImage className="mt-6" assetBaseUrl={assetBaseUrl} />
|
|
|
|
<Section>
|
|
<Text className="text-primary mx-auto mb-0 max-w-[80%] text-center text-lg font-semibold">
|
|
Your document has been deleted
|
|
<br />"{documentName}"
|
|
</Text>
|
|
<Text className="text-primary mx-auto mb-0 max-w-[80%] text-center text-lg font-semibold">
|
|
Reason
|
|
<br />"{reason}"
|
|
</Text>
|
|
</Section>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default TemplateDocumentDelete;
|