pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
import { DefaultTheme } from '@mui/system';
|
||||
|
||||
export interface ThemeProviderProps<Theme = DefaultTheme> {
|
||||
children?: React.ReactNode;
|
||||
theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
|
||||
}
|
||||
|
||||
/**
|
||||
* This component makes the `theme` available down the React tree.
|
||||
* It should preferably be used at **the root of your component tree**.
|
||||
* API:
|
||||
*
|
||||
* - [ThemeProvider API](https://mui.com/material-ui/customization/theming/#themeprovider)
|
||||
*/
|
||||
export default function ThemeProvider<Theme = DefaultTheme>(
|
||||
props: ThemeProviderProps<Theme>,
|
||||
): React.ReactElement<ThemeProviderProps<Theme>>;
|
||||
Reference in new issue
Block a user