UNPKG

@dodobrat/react-ui-kit

Version:
14 lines (13 loc) 545 B
import React from "react"; import { CnCh } from "../../../helpers/global.types"; declare type ExtraDragScrollProps = CnCh; export interface DragScrollProps extends ExtraDragScrollProps { horizontal?: boolean; vertical?: boolean; onScroll?: (scrollLeft: number, scrollTop: number, scrollWidth: number, scrollHeight: number) => void; activationDistance?: number; indicatorClassName?: string; indicatorComponent?: React.ReactNode; innerRef?: React.MutableRefObject<any> | React.LegacyRef<any>; } export {};