feat: wip invoice mail receipt preview

This commit is contained in:
Ahmed Bouhuolia
2024-10-22 14:00:36 +02:00
parent b7f316d25a
commit c0481f67ad
10 changed files with 76 additions and 23 deletions

View File

@@ -1,20 +1,12 @@
import { Box } from '@/components';
import { Box, Stack } from '@/components';
import { useElementCustomizeContext } from './ElementCustomizeProvider';
export function ElementCustomizePreviewContent() {
const { PaperTemplate } = useElementCustomizeContext();
return (
<Box
style={{
// padding: '28px 24px 40px',
// backgroundColor: '#F5F5F5',
// overflow: 'auto',
// flex: '1',
}}
>
<Stack backgroundColor="#F5F5F5" overflow="auto" flex="1 1 0%" spacing={0}>
{PaperTemplate}
</Box>
</Stack>
);
}