16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
import { Theme, ThemeOptions } from '@mui/material/styles';
|
|
|
|
declare module '@mui/material/styles' {
|
|
interface CustomTheme extends Theme {
|
|
status: {
|
|
danger: string;
|
|
};
|
|
}
|
|
// allow configuration using `createTheme`
|
|
interface CustomThemeOptions extends ThemeOptions {
|
|
status?: {
|
|
danger?: string;
|
|
};
|
|
}
|
|
export function createTheme(options?: CustomThemeOptions): CustomTheme;
|
|
} |