Adding a fullScreen option for our Dialog component.

This commit is contained in:
vdv committed 2022-12-15 18:46:58 +01:00
1 parent e90e71d151
commit d71399e296
3 files changed
+10 -8

No files matched your search

+2
View File
@@ -10,6 +10,7 @@ import CloseIcon from '@suid/icons-material/Close';
const Dialog: Component<{
open: boolean;
fullScreen?: boolean;
title: JSXElement;
closeHandler: (event: any, reason?: string) => void;
children: JSXElement;
@@ -19,6 +20,7 @@ const Dialog: Component<{
onClose={props.closeHandler}
open={props.open}
PaperProps={{ sx: { minWidth: '300px' } }}
fullScreen={props.fullScreen}
>
<DialogTitle
sx={{