react-multi-carousel
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) • 581 B
TypeScript
import * as React from 'react';
import { CarouselInternalState, CarouselProps, stateCallBack } from './types';
interface DotsTypes {
props: CarouselProps;
state: CarouselInternalState;
goToSlide: (index: number) => void;
getState: () => stateCallBack;
}
declare const Dots: ({ props, state, goToSlide, getState, }: DotsTypes) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)> | null) | (new (props: any) => React.Component<any, any, any>)> | null;
export default Dots;