@dodobrat/react-ui-kit
Version:
Simple React Component Library
14 lines (13 loc) • 545 B
TypeScript
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 {};