Skip to content

Commit

Permalink
Reserve "region" slot again
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Jan 21, 2021
1 parent 6572655 commit ccf936f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Accordion/Accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const useUtilityClasses = (styleProps) => {

const slots = {
root: ['root', !square && 'rounded', expanded && 'expanded', disabled && 'disabled'],
region: ['region'],
};

return composeClasses(slots, getAccordionUtilityClass, classes);
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui/src/Accordion/Accordion.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ describe('<Accordion />', () => {
refInstanceof: window.HTMLDivElement,
muiName: 'MuiAccordion',
testVariantProps: { variant: 'rounded' },
testDeepOverrides: { slotName: 'region', slotClassName: classes.region },
skip: ['componentProp', 'componentsProp'],
}));

Expand Down

0 comments on commit ccf936f

Please sign in to comment.