1 | import * as React from 'react';
|
2 | export type ScrollBarDirectionType = 'ltr' | 'rtl';
|
3 | export interface ScrollBarProps {
|
4 | prefixCls: string;
|
5 | scrollOffset: number;
|
6 | scrollRange: number;
|
7 | rtl: boolean;
|
8 | onScroll: (scrollOffset: number, horizontal?: boolean) => void;
|
9 | onStartMove: () => void;
|
10 | onStopMove: () => void;
|
11 | horizontal?: boolean;
|
12 | spinSize: number;
|
13 | containerSize: number;
|
14 | }
|
15 | export interface ScrollBarRef {
|
16 | delayHidden: () => void;
|
17 | }
|
18 | declare const ScrollBar: React.ForwardRefExoticComponent<ScrollBarProps & React.RefAttributes<ScrollBarRef>>;
|
19 | export default ScrollBar;
|