Skip to content

Commit

Permalink
[core][mui-utils] Remove remaining IE11 references (mui#42777)
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai authored and joserodolfofreitas committed Jul 29, 2024
1 parent 7a70a72 commit 3d5f689
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 85 deletions.
2 changes: 1 addition & 1 deletion packages/mui-utils/src/getDisplayName/getDisplayName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function getWrappedName(outerType: any, innerType: any, wrapperName: string) {
/**
* cherry-pick from
* https://github.com/facebook/react/blob/769b1f270e1251d9dbdce0fcbd9e92e502d059b8/packages/shared/getComponentName.js
* originally forked from recompose/getDisplayName with added IE11 support
* originally forked from recompose/getDisplayName
*/
export default function getDisplayName(Component: React.ElementType): string | undefined {
if (Component == null) {
Expand Down
4 changes: 0 additions & 4 deletions packages/mui-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ export { default as unstable_useTimeout, Timeout as unstable_Timeout } from './u
export { default as unstable_useOnMount } from './useOnMount';
export { default as unstable_useIsFocusVisible } from './useIsFocusVisible';
export { default as unstable_getScrollbarSize } from './getScrollbarSize';
export {
detectScrollType as unstable_detectScrollType,
getNormalizedScrollLeft as unstable_getNormalizedScrollLeft,
} from './scrollLeft';
export { default as usePreviousProps } from './usePreviousProps';
export { default as getValidReactChildren } from './getValidReactChildren';
export { default as visuallyHidden } from './visuallyHidden';
Expand Down
1 change: 0 additions & 1 deletion packages/mui-utils/src/scrollLeft/index.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/mui-utils/src/scrollLeft/scrollLeft.d.ts

This file was deleted.

77 changes: 0 additions & 77 deletions packages/mui-utils/src/scrollLeft/scrollLeft.js

This file was deleted.

0 comments on commit 3d5f689

Please sign in to comment.