@react-cmpt/use-throttle
Version:
The throttled value / function hook for react
7 lines (6 loc) • 370 B
TypeScript
import type { ThrottleOptions } from "./useThrottle";
import useThrottle from "./useThrottle";
import type { ThrottleFnOptions, ThrottleReturnResult, ControlFunctions } from "./useThrottleFn";
import useThrottleFn from "./useThrottleFn";
export type { ThrottleOptions, ThrottleFnOptions, ThrottleReturnResult, ControlFunctions, };
export { useThrottle, useThrottleFn };