UNPKG

@ebay/ui-core-react

Version:

Skin components build off React

21 lines 638 B
import { FC, ReactNode, RefObject } from "react"; import { ListItemRef } from "./types"; type CarouselListProps = { gap?: number; itemsPerSlide: number; slideWidth: number; offset: number; activeIndex: number; nextControlDisabled?: boolean; isAutoplayEnabled?: boolean; className?: string; itemsRef?: RefObject<Array<ListItemRef | null>>; children: ReactNode; onSetActiveIndex: (index: number) => void; onScroll?: ({ index }: { index: any; }) => void; }; declare const CarouselList: FC<CarouselListProps>; export default CarouselList; //# sourceMappingURL=carousel-list.d.ts.map