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