mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
12 lines
542 B
Plaintext
12 lines
542 B
Plaintext
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;
|