Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.d.ts from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 856 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/system/ThemeProvider/ThemeProvider.d.ts
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@mui/system/ThemeProvider/ThemeProvider.d.ts
-
curl -L -o ThemeProvider.d.ts https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/system/ThemeProvider/ThemeProvider.d.ts
856 Bytes
| import { DefaultTheme } from '@mui/private-theming'; | |
| export interface ThemeProviderProps<Theme = DefaultTheme> { | |
| /** | |
| * Your component tree. | |
| */ | |
| children?: React.ReactNode; | |
| /** | |
| * The design system's unique id for getting the corresponded theme when there are multiple design systems. | |
| */ | |
| themeId?: string; | |
| /** | |
| * A theme object. You can provide a function to extend the outer theme. | |
| */ | |
| 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<T = DefaultTheme>( | |
| props: ThemeProviderProps<T>, | |
| ): React.ReactElement<ThemeProviderProps<T>>; | |