@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
10 lines • 395 B
TypeScript
export interface ThrottleOptions {
leading?: boolean;
trailing?: boolean;
}
export interface ThrottledFunction<F extends (...args: any) => any> {
(...args: Parameters<F>): void;
cancel(): void;
}
export declare function throttle<F extends (...args: any) => any>(func: F, delay: number, { trailing }?: ThrottleOptions): ThrottledFunction<F>;
//# sourceMappingURL=throttle.d.ts.map