mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
18 lines
431 B
TypeScript
18 lines
431 B
TypeScript
import { Box, Stack } from '@/components';
|
|
import { useElementCustomizeContext } from './ElementCustomizeProvider';
|
|
|
|
export function ElementCustomizePreviewContent() {
|
|
const { PaperTemplate } = useElementCustomizeContext();
|
|
|
|
return (
|
|
<Stack
|
|
backgroundColor="var(--color-element-customize-preview-background)"
|
|
overflow="auto"
|
|
flex="1 1 0%"
|
|
spacing={0}
|
|
>
|
|
{PaperTemplate}
|
|
</Stack>
|
|
);
|
|
}
|