react-smooth-scrollbar-z
Version:
A React wrapper for Smooth Scrollbar with hooks and plugin support
14 lines (13 loc) • 361 B
TypeScript
import { ScrollbarPlugin } from "smooth-scrollbar";
export interface BounceEffectOptions {
distance?: number;
duration?: number;
easing?: string;
}
export default class BounceEffectPlugin extends ScrollbarPlugin {
static pluginName: string;
options: BounceEffectOptions;
private _bouncing;
onRender(): void;
onDestroy(): void;
}