Adding a fullScreen option for our Dialog component.
This commit is contained in:
1 parent
e90e71d151
commit
d71399e296
3 files changed
+10
-8
No files matched your search
@@ -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={{
|
||||
|
||||
Reference in new issue
Block a user