Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@mui/utils/useControlled/useControlled.d.ts from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 531 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/utils/useControlled/useControlled.d.ts
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/@mui/utils/useControlled/useControlled.d.ts
-
curl -L -o useControlled.d.ts https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/94e32638a275d46bc1ba62feac204fcaaf313da4/frontend/node_modules/%40mui/utils/useControlled/useControlled.d.ts
531 Bytes
| export interface UseControlledProps<T = unknown> { | |
| /** | |
| * Holds the component value when it's controlled. | |
| */ | |
| controlled: T | undefined; | |
| /** | |
| * The default value when uncontrolled. | |
| */ | |
| default: T | undefined; | |
| /** | |
| * The component name displayed in warnings. | |
| */ | |
| name: string; | |
| /** | |
| * The name of the state variable displayed in warnings. | |
| */ | |
| state?: string; | |
| } | |
| export default function useControlled<T = unknown>( | |
| props: UseControlledProps<T>, | |
| ): [T, (newValue: T | ((prevValue: T) => T)) => void]; | |