import { FunctionComponent } from 'react'; import { StandardFunctionProps } from '../../types'; import { ComponentSize } from '../../types'; import { InfluxColors } from '../../constants/colorSchemes'; interface DapperScrollbarsProps extends StandardFunctionProps { /** Toggle display of tracks when no scrolling is necessary */ removeTracksWhenNotUsed?: boolean; /** Toggle display of vertical track when no scrolling is necessary */ removeTrackYWhenNotUsed?: boolean; /** Toggle display of horizontal track when no scrolling is necessary */ removeTrackXWhenNotUsed?: boolean; /** Disable scrolling horizontally */ noScrollX?: boolean; /** Disable scrolling vertically */ noScrollY?: boolean; /** Disable scrolling */ noScroll?: boolean; /** Gradient start color */ thumbStartColor?: string | InfluxColors; /** Gradient end color */ thumbStopColor?: string | InfluxColors; /** Hide scrollbar when not actively scrolling */ autoHide?: boolean; /** Scroll container will grow to fit the content width and height */ autoSize?: boolean; /** Scroll container will grow to fit the content width */ autoSizeWidth?: boolean; /** Scroll container will grow to fit the content height */ autoSizeHeight?: boolean; /** Vertical scroll position in pixels */ scrollTop?: number; /** Horizontal scroll position in pixels */ scrollLeft?: number; /** Function to be called when called scroll event fires */ onScroll?: Function; /** Function called after component updated */ onUpdate?: Function; /** Component Size **/ size?: ComponentSize; } export declare const DapperScrollbars: FunctionComponent; export {};