This commit is contained in:
Manav Rathi
2024-10-10 08:10:42 +05:30
parent 4b38164c58
commit ec37cb3eff

View File

@@ -231,8 +231,6 @@ export interface DialogBoxV2Attributes {
* reset or override these customizations.
*/
title?: React.ReactNode;
staticBackdrop?: boolean;
nonClosable?: boolean;
/**
* Customize the cancel (dismiss) action button offered by the dialog box.
*
@@ -279,18 +277,12 @@ export function DialogBoxV2({
return <></>;
}
const handleClose = dialogCloseHandler({
staticBackdrop: attributes.staticBackdrop,
nonClosable: attributes.nonClosable,
onClose: onClose,
});
const { PaperProps, ...rest } = props;
return (
<Dialog
open={open}
onClose={handleClose}
onClose={onClose}
PaperProps={{
...PaperProps,
sx: {