add print form b
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {Box, Container, Divider, Grid, Paper, Stack, Typography} from '@mui/material';
|
||||
|
||||
const PrintablePage = ({children, header, footer}) => (
|
||||
const PrintablePage = ({children, header, footer, paperSx = {}}) => (
|
||||
<>
|
||||
<Box sx={{width: "100%", height: 8, displayPrint: 'none'}}/>
|
||||
<Container
|
||||
@@ -38,7 +38,7 @@ const PrintablePage = ({children, header, footer}) => (
|
||||
</Stack>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Paper elevation={0} sx={{px: 8}}>
|
||||
<Paper elevation={0} sx={{px: 8, ...paperSx}}>
|
||||
{children}
|
||||
</Paper>
|
||||
<Box sx={{
|
||||
|
||||
Reference in New Issue
Block a user