File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
packages/mui-styled-engine-sc/src Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,14 @@ export function internal_mutateStyles(
8181 processor : ( styles : any ) => any ,
8282) : void ;
8383
84+ // Not needed anymore, but fixes https://github.com/mui/material-ui/issues/44112
85+ // TODO: Remove it in v7
86+ // eslint-disable-next-line @typescript-eslint/naming-convention
87+ export function internal_processStyles (
88+ tag : React . ElementType ,
89+ processor : ( styles : any ) => any ,
90+ ) : void ;
91+
8492// eslint-disable-next-line @typescript-eslint/naming-convention
8593export function internal_serializeStyles < P > ( styles : Interpolation < P > ) : object ;
8694
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ export function internal_mutateStyles(tag, processor) {
4848 }
4949}
5050
51+ // Not needed anymore, but fixes https://github.com/mui/material-ui/issues/44112
52+ // TODO: Remove it in v7
53+ // eslint-disable-next-line @typescript-eslint/naming-convention
54+ export function internal_processStyles ( tag , processor ) {
55+ return internal_mutateStyles ( tag , processor ) ;
56+ }
57+
5158// eslint-disable-next-line @typescript-eslint/naming-convention
5259export function internal_serializeStyles ( styles ) {
5360 return styles ;
You can’t perform that action at this time.
0 commit comments