refun
Version:
A collection of React Hook-enabled functions that compose harmoniously with each other. Similar to `recompose`, but:
4 lines (3 loc) • 428 B
TypeScript
export declare const mapThrottledHandlerFactory: (setFn: Function, clearFn: Function) => <P extends {}>(handlerName: keyof P, ...setFnArgs: any[]) => (props: P) => P;
export declare const mapThrottledHandlerTimeout: <P extends {}>(handlerName: keyof P, ...setFnArgs: any[]) => (props: P) => P;
export declare const mapThrottledHandlerAnimationFrame: <P extends {}>(handlerName: keyof P, ...setFnArgs: any[]) => (props: P) => P;