Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@mui/system/useThemeProps/useThemeProps.d.ts from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 440 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/system/useThemeProps/useThemeProps.d.ts
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@mui/system/useThemeProps/useThemeProps.d.ts
-
curl -L -o useThemeProps.d.ts https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/system/useThemeProps/useThemeProps.d.ts
440 Bytes
| export interface ThemeWithProps { | |
| components?: any; | |
| } | |
| export type ThemedProps<Theme, Name extends keyof any> = Theme extends { | |
| components: Record<Name, { defaultProps: infer Props }>; | |
| } | |
| ? Props | |
| : {}; | |
| export default function useThemeProps< | |
| Theme extends ThemeWithProps, | |
| Props, | |
| Name extends keyof any, | |
| >(params: { | |
| props: Props; | |
| name: Name; | |
| defaultTheme?: Theme; | |
| themeId?: string; | |
| }): Props & ThemedProps<Theme, Name>; | |