Skip to content

Commit f1d35f6

Browse files
authored
[material-ui] Remove unnecessary overridesResolvers from styled components (#48204)
1 parent 1dc8f0a commit f1d35f6

4 files changed

Lines changed: 0 additions & 6 deletions

File tree

packages/mui-material/src/Drawer/Drawer.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ const DrawerDockedRoot = styled('div', {
6363
const DrawerPaper = styled(Paper, {
6464
name: 'MuiDrawer',
6565
slot: 'Paper',
66-
overridesResolver: (props, styles) => {
67-
return [styles.paper];
68-
},
6966
})(
7067
memoTheme(({ theme }) => ({
7168
overflowY: 'auto',

packages/mui-material/src/ListItem/ListItem.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ export const ListItemRoot = styled('div', {
133133
const StyledListItemSecondaryAction = styled(ListItemSecondaryAction, {
134134
name: 'MuiListItem',
135135
slot: 'secondaryAction',
136-
overridesResolver: (props, styles) => styles.secondaryAction,
137136
})({});
138137

139138
const ListItem = React.forwardRef(function ListItem(inProps, ref) {

packages/mui-material/src/StepConnector/StepConnector.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ const StepConnectorRoot = styled('div', {
6565
const StepConnectorLine = styled('span', {
6666
name: 'MuiStepConnector',
6767
slot: 'Line',
68-
overridesResolver: (props, styles) => styles.line,
6968
})(
7069
memoTheme(({ theme }) => {
7170
const borderColor =

packages/mui-material/src/TableSortLabel/TableSortLabel.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ const TableSortLabelRoot = styled(ButtonBase, {
6060
const TableSortLabelIcon = styled('span', {
6161
name: 'MuiTableSortLabel',
6262
slot: 'Icon',
63-
overridesResolver: (props, styles) => styles.icon,
6463
})(
6564
memoTheme(({ theme }) => ({
6665
fontSize: 18,

0 commit comments

Comments
 (0)