diff --git a/react/helpers/useTheme.js b/react/helpers/useTheme.js new file mode 100644 index 0000000000..c84d9c8c6f --- /dev/null +++ b/react/helpers/useTheme.js @@ -0,0 +1,2 @@ +import { useTheme } from '@material-ui/core' +export default useTheme diff --git a/react/helpers/withStyles.js b/react/helpers/withStyles.js new file mode 100644 index 0000000000..0ab107a64f --- /dev/null +++ b/react/helpers/withStyles.js @@ -0,0 +1,2 @@ +import { withStyles } from '@material-ui/core/styles' +export default withStyles diff --git a/react/index.js b/react/index.js index 09f123b630..847819f5fa 100644 --- a/react/index.js +++ b/react/index.js @@ -29,6 +29,8 @@ export { default as AccordionDetails } from './MuiCozyTheme/AccordionDetails' export { default as Toggle } from './Toggle' export { default as withBreakpoints } from './helpers/withBreakpoints' export { default as makeStyles } from './helpers/makeStyles' +export { default as withStyles } from './helpers/withStyles' +export { default as useTheme } from './helpers/useTheme' export { default as useBreakpoints } from './hooks/useBreakpoints' export { default as useBrowserOffline } from './hooks/useBrowserOffline' export { Media, Img, Bd } from './Media'