diff --git a/packages/mui-material/src/Dialog/Dialog.js b/packages/mui-material/src/Dialog/Dialog.js index e51233aff34d29..15592f2606a457 100644 --- a/packages/mui-material/src/Dialog/Dialog.js +++ b/packages/mui-material/src/Dialog/Dialog.js @@ -237,7 +237,7 @@ const Dialog = React.forwardRef(function Dialog(inProps, ref) { const backwardCompatibleSlots = { transition: TransitionComponentProp, - paper: DialogPaper, + paper: PaperComponentProp, ...slots, }; const backwardCompatibleSlotProps = { @@ -261,7 +261,7 @@ const Dialog = React.forwardRef(function Dialog(inProps, ref) { delete transitionProps.ownerState; const [PaperSlot, paperProps] = useSlot('paper', { - elementType: PaperComponentProp, + elementType: DialogPaper, externalForwardedProps: { slots: backwardCompatibleSlots, slotProps: backwardCompatibleSlotProps,