FrontPastel/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.d.ts

10 lines
334 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import { DefaultTheme } from '../defaultTheme';
export interface ThemeProviderProps<Theme = DefaultTheme> {
children?: React.ReactNode;
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
}
export default function ThemeProvider<T = DefaultTheme>(
props: ThemeProviderProps<T>,
): React.ReactElement<ThemeProviderProps<T>>;