Preview: useEmblaCarousel.d.ts
Size: 542 B
/var/www/gtechmarathon2026.bitkit.dk/httpdocs/node_modules/embla-carousel-react/components/useEmblaCarousel.d.ts
import { EmblaCarouselType, EmblaOptionsType, EmblaPluginType } from 'embla-carousel';
export type EmblaViewportRefType = <ViewportElement extends HTMLElement>(instance: ViewportElement | null) => void;
export type UseEmblaCarouselType = [
EmblaViewportRefType,
EmblaCarouselType | undefined
];
declare function useEmblaCarousel(options?: EmblaOptionsType, plugins?: EmblaPluginType[]): UseEmblaCarouselType;
declare namespace useEmblaCarousel {
let globalOptions: EmblaOptionsType | undefined;
}
export default useEmblaCarousel;
Directory Contents
Dirs: 0 × Files: 1