react-multi-carousel-18
Version:
Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.
8 lines (7 loc) • 396 B
TypeScript
import { CarouselInternalState, CarouselProps, Direction } from "../types";
declare function populateSlidesOnMouseTouchMove(state: CarouselInternalState, props: CarouselProps, initialX: number, lastX: number, clientX: number, transformPlaceHolder: number): {
direction?: Direction;
nextPosition: number | undefined;
canContinue: boolean;
};
export { populateSlidesOnMouseTouchMove };