react-smooth-scrollbar-z
Version:
A React wrapper for Smooth Scrollbar with hooks and plugin support
16 lines (15 loc) • 404 B
TypeScript
import { ScrollbarPlugin } from "smooth-scrollbar";
export interface ScrollHintOptions {
height?: number;
color?: string;
fade?: number;
}
export default class ScrollHintPlugin extends ScrollbarPlugin {
static pluginName: string;
static defaultOptions: ScrollHintOptions;
private topHint;
private bottomHint;
onInit(): void;
onRender(): void;
onDestroy(): void;
}