diff --git a/src/custom/Modal/index.tsx b/src/custom/Modal/index.tsx index 815b42586..836943566 100644 --- a/src/custom/Modal/index.tsx +++ b/src/custom/Modal/index.tsx @@ -159,8 +159,10 @@ export const Modal: React.FC = ({ const toggleFullScreen = () => { setFullScreen((prev) => !prev); }; +const { fullScreen: _ignoredFullScreen, fullWidth: _ignoredFullWidth, ...restProps } = props; return ( = ({ aria-describedby="alert-dialog-slide-description" fullScreen={fullScreen} fullWidth={!fullScreen} - {...props} > {title && (