mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: wip invoice mail receipt preview
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user