Initial commit
This commit is contained in:
11
node_modules/embla-carousel-react/components/useEmblaCarousel.d.ts
generated
vendored
Normal file
11
node_modules/embla-carousel-react/components/useEmblaCarousel.d.ts
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user