Skip to content

Commit

Permalink
bring back createStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Apr 28, 2021
1 parent 6973b1c commit e5ea6c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/styles/createStyles.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default function createStyles(styles: any): never;
3 changes: 3 additions & 0 deletions packages/material-ui/src/styles/createStyles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default function createStyles(styles) {
return styles;
}
1 change: 1 addition & 0 deletions packages/material-ui/src/styles/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export {
PaletteOptions,
SimplePaletteColorOptions,
} from './createPalette';
export { default as createStyles } from './createStyles';
export {
Typography as TypographyVariants,
TypographyOptions as TypographyVariantsOptions,
Expand Down
1 change: 1 addition & 0 deletions packages/material-ui/src/styles/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export { default as adaptV4Theme } from './adaptV4Theme';
export * from './colorManipulator';
export { default as createMuiTheme } from './createMuiTheme';
export { default as unstable_createMuiStrictModeTheme } from './createMuiStrictModeTheme';
export { default as createStyles } from './createStyles';
export { getUnit as unstable_getUnit, toUnitless as unstable_toUnitless } from './cssUtils';
export { default as makeStyles } from './makeStyles';
export { default as responsiveFontSizes } from './responsiveFontSizes';
Expand Down

0 comments on commit e5ea6c2

Please sign in to comment.