UNPKG

@blossom-carousel/react

Version:

A native-scroll-first carousel component for React.

5 lines (4 loc) 275 B
/** Registers the slide count for a carousel id. */ export declare function setSlideCount(id: string, count: number): void; /** Returns the registered slide count for a carousel id, or 0 when unknown. */ export declare function getSlideCount(id: string | undefined): number;