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.
6 lines (5 loc) • 585 B
TypeScript
import { ResponsiveType, CarouselProps } from "../types";
declare function getPartialVisibilityGutter(responsive: ResponsiveType, partialVisible?: boolean, serverSideDeviceType?: string | undefined, clientSideDeviceType?: string | undefined): number | undefined;
declare function getWidthFromDeviceType(deviceType: string, responsive: ResponsiveType): number | string | undefined;
declare function getItemClientSideWidth(props: CarouselProps, slidesToShow: number, containerWidth: number): number;
export { getWidthFromDeviceType, getPartialVisibilityGutter, getItemClientSideWidth };