index.d.ts 305 B

1234567
  1. /**
  2. * A custom hook that converts a callback to a ref to avoid triggering re-renders when passed as a
  3. * prop or avoid re-executing effects when passed as a dependency
  4. */
  5. export function useCallbackRef<T extends (...args: any[]) => any>(callback: T | undefined): T;
  6. //# sourceMappingURL=index.d.ts.map