@madie/madie-design-system 1.2.40 → 1.2.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,6 +103,7 @@ const MadieDialog = ({
103
103
  dialogProps,
104
104
  cancelButtonProps,
105
105
  continueButtonProps,
106
+ maxWidth = "sm",
106
107
  children,
107
108
  }) => {
108
109
  const {
@@ -124,7 +125,7 @@ const MadieDialog = ({
124
125
  marginTop: "-20px",
125
126
  },
126
127
  }}
127
- maxWidth="sm"
128
+ maxWidth={maxWidth}
128
129
  fullWidth
129
130
  PaperComponent={DraggablePaper}
130
131
  {...otherDialogProps}
@@ -298,6 +299,7 @@ MadieDialog.propTypes = {
298
299
  cancelButtonProps: PropTypes.object,
299
300
  continueButtonProps: PropTypes.object,
300
301
  children: PropTypes.object,
302
+ maxWidth: PropTypes.string,
301
303
  };
302
304
 
303
305
  DraggablePaper.propTypes = {