UNPKG

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.

11 lines (10 loc) 455 B
import * as React from "react"; import { CarouselInternalState, CarouselProps, StateCallBack, SkipCallbackOptions } from "./types"; interface DotsTypes { props: CarouselProps; state: CarouselInternalState; goToSlide: (index: number, skipCallbacks?: SkipCallbackOptions) => void; getState: () => StateCallBack; } declare const Dots: ({ props, state, goToSlide, getState }: DotsTypes) => React.ReactElement<any> | null; export default Dots;