Files
Webklar.com/node_modules/embla-carousel-react/esm/components/useEmblaCarousel.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

12 lines
542 B
TypeScript

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;