Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@mui/utils/useLazyRef/useLazyRef.d.ts from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 394 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40mui/utils/useLazyRef/useLazyRef.d.ts
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/@mui/utils/useLazyRef/useLazyRef.d.ts
-
curl -L -o useLazyRef.d.ts https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40mui/utils/useLazyRef/useLazyRef.d.ts
394 Bytes
| import * as React from 'react'; | |
| /** | |
| * A React.useRef() that is initialized lazily with a function. Note that it accepts an optional | |
| * initialization argument, so the initialization function doesn't need to be an inline closure. | |
| * | |
| * @usage | |
| * const ref = useLazyRef(sortColumns, columns) | |
| */ | |
| export default function useLazyRef<T, U>(init: (arg?: U) => T, initArg?: U): React.RefObject<T>; | |