Download node_modules/@radix-ui/react-use-callback-ref/dist/index.d.ts from metarm/QMetaRam: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40radix-ui/react-use-callback-ref/dist/index.d.ts
- Command line
-
hf download hf://metarm/QMetaRam/node_modules/@radix-ui/react-use-callback-ref/dist/index.d.ts
-
curl -L -o index.d.ts https://huggingface.co/metarm/QMetaRam/resolve/main/node_modules/%40radix-ui/react-use-callback-ref/dist/index.d.ts
297 Bytes
| /** | |
| * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a | |
| * prop or avoid re-executing effects when passed as a dependency | |
| */ | |
| declare function useCallbackRef<T extends (...args: any[]) => any>(callback: T | undefined): T; | |
| export { useCallbackRef }; | |