@itwin/core-react
Version:
A react component library of iTwin.js UI general purpose components
16 lines • 528 B
TypeScript
/** @packageDocumentation
* @module Utilities
*/
import * as React from "react";
/** lodash throttle options
* @internal
*/
export interface ThrottleSettings {
leading: boolean;
trailing: boolean;
}
/** Used to throttle function calls
* @internal
*/
export declare function useThrottledFn<T extends (...args: any) => any>(functionToThrottle: T, waitTime: number, dependencies: React.DependencyList, options?: ThrottleSettings): import("lodash").DebouncedFuncLeading<T>;
//# sourceMappingURL=useThrottledFn.d.ts.map