31 lines
607 B
JavaScript
31 lines
607 B
JavaScript
|
|
import Box from '@mui/material/Box';
|
||
|
|
|
||
|
|
export default function Print() {
|
||
|
|
return (
|
||
|
|
<div style={{ width: '100%' }}>
|
||
|
|
<Box
|
||
|
|
sx={{
|
||
|
|
display: 'block',
|
||
|
|
displayPrint: 'none',
|
||
|
|
m: 1,
|
||
|
|
fontSize: '0.875rem',
|
||
|
|
fontWeight: '700',
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
Screen Only (Hide on print only)
|
||
|
|
</Box>
|
||
|
|
<Box
|
||
|
|
sx={{
|
||
|
|
display: 'none',
|
||
|
|
displayPrint: 'block',
|
||
|
|
m: 1,
|
||
|
|
fontSize: '0.875rem',
|
||
|
|
fontWeight: '700',
|
||
|
|
}}
|
||
|
|
>
|
||
|
|
Print Only (Hide on screen only)
|
||
|
|
</Box>
|
||
|
|
</div>
|
||
|
|
);
|
||
|
|
}
|