react-responsive-3d-carousel
Version:
React Responsive 3D Carousel
7 lines (6 loc) • 521 B
TypeScript
import { AlignType } from '../components/Carousel/Carousel';
import { DefaultOption } from '../utils/defaultLayoutInfo';
import { CarouselLayoutInfo } from '../utils/layoutStyle';
export type LayoutType = 'default' | CarouselLayoutInfo;
declare const useLayout: (items: JSX.Element[], htmlItemsRef: React.MutableRefObject<HTMLElement[]>, align: AlignType, width: string, height: string, aspectRatio: number | "auto", layout: LayoutType, curIndex: number, defaultOption?: DefaultOption) => void;
export default useLayout;