react-multi-carousel-jsm
Version:
Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.
12 lines (11 loc) • 497 B
TypeScript
/// <reference types="react" />
import { CarouselInternalState, CarouselProps, SkipCallbackOptions } from "./types";
interface CarouselItemsProps {
props: CarouselProps;
state: CarouselInternalState;
clones: any[];
notEnoughChildren: boolean;
goToSlide: (index: number, skipCallbacks?: SkipCallbackOptions) => void;
}
declare const CarouselItems: ({ props, state, goToSlide, clones, notEnoughChildren }: CarouselItemsProps) => JSX.Element | null;
export default CarouselItems;