Update api

-reports & changeset

Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
Philipp Hugenroth
2023-07-04 16:52:16 +02:00
parent 4f28914d9f
commit e2fad5e880
4 changed files with 29 additions and 9 deletions
+1 -1
View File
@@ -20,4 +20,4 @@ export type { UnifiedThemeOptions } from './UnifiedTheme';
export { themes } from './themes';
export { UnifiedThemeProvider } from './UnifiedThemeProvider';
export type { UnifiedThemeProviderProps } from './UnifiedThemeProvider';
export type { UnifiedTheme } from './types';
export type { UnifiedTheme, SupportedThemes, SupportedVersions } from './types';
+13
View File
@@ -17,7 +17,20 @@
import { Theme as Mui4Theme } from '@material-ui/core/styles';
import { Theme as Mui5Theme } from '@mui/material/styles';
/**
* Supported Material UI Versions
*
* Currently: 'v4' and 'v5'.
*
* @public
*/
export type SupportedVersions = 'v4' | 'v5';
/**
* Supported Material UI Theme Types for `SupportedVersions`
*
* @public
*/
export type SupportedThemes = Mui4Theme | Mui5Theme;
/**