Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/mui-material/src/Backdrop/Backdrop.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const Backdrop = React.forwardRef(function Backdrop(inProps, ref) {
};
const backwardCompatibleSlotProps = { ...componentsProps, ...slotProps };
const externalForwardedProps = {
component,
slots: backwardCompatibleSlots,
slotProps: backwardCompatibleSlotProps,
};
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Backdrop/Backdrop.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('<Backdrop />', () => {
testWithElement: null,
},
},
skip: ['componentProp', 'componentsProp'],
skip: ['componentsProp'],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test for the fix

}));

it('should render a backdrop div with content of nested children', () => {
Expand Down