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.
20 lines (19 loc) • 730 B
TypeScript
import * as React from "react";
import { StateCallBack } from "./types";
interface LeftArrowProps {
customLeftArrow?: React.ReactElement<any> | null;
getState: () => StateCallBack;
previous: () => void;
disabled?: boolean;
rtl?: boolean;
}
interface RightArrowProps {
customRightArrow?: React.ReactElement<any> | null;
getState: () => StateCallBack;
next: () => void;
disabled?: boolean;
rtl?: boolean;
}
declare const LeftArrow: ({ customLeftArrow, getState, previous, disabled, rtl }: LeftArrowProps) => React.ReactElement<any>;
declare const RightArrow: ({ customRightArrow, getState, next, disabled, rtl }: RightArrowProps) => React.ReactElement<any>;
export { LeftArrow, RightArrow };