UNPKG

react-responsive-3d-carousel

Version:
16 lines (15 loc) 613 B
import { CarouselLayoutInfo } from './layoutStyle'; export type DefaultOption = { numOfSlides?: 'auto' | 2 | 3 | 5; widthFactor?: number; depthFactor?: number; angleFactor?: number; }; /** * Adjust default carousel layout info based on the default option values */ export declare const adjustDefaultCarouselLayoutInfo: (info: CarouselLayoutInfo, defaultOption?: DefaultOption) => CarouselLayoutInfo; /** * Get default carousel layout info based on the length of items */ export declare const getDefaultCarouselLayoutInfo: (length: number, defaultOption?: DefaultOption) => CarouselLayoutInfo;