Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Sep 8, 2023
1 parent f20aa08 commit 4b0a197
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/mui-material/src/Modal/Modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ const Modal = React.forwardRef(function Modal(inProps, ref) {
keepMounted = false,
onBackdropClick,
onClose,
onTransitionEnter,
onTransitionExited,
open,
slotProps,
slots,
Expand Down Expand Up @@ -154,10 +156,7 @@ const Modal = React.forwardRef(function Modal(inProps, ref) {
elementType: RootSlot,
externalSlotProps: rootSlotProps,
externalForwardedProps: other,
getSlotProps: (otherHandlers) => {
const { onTransitionEnter, onTransitionExited, ...restOfHandlers } = otherHandlers;
return getRootProps(restOfHandlers);
},
getSlotProps: getRootProps,
additionalProps: {
ref,
as: component,
Expand Down

0 comments on commit 4b0a197

Please sign in to comment.