Update api
-reports & changeset Signed-off-by: Philipp Hugenroth <philipph@spotify.com>
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user