UNPKG

react-carousel-query

Version:

A infinite carousel component made with react that handles the pagination for you.

19 lines (15 loc) 571 B
import { RawSourceMap } from "source-map"; import { CachedData, MapOptions } from "."; import Source = require("./Source"); /** * Decorates a Source and caches returned results of map, source, size and sourceAndMap in memory. * Every other operation is delegated to the wrapped Source. */ declare class CachedSource extends Source { constructor(source: null | (() => Source), cachedData: CachedData); constructor(source: Source); map(options?: MapOptions): RawSourceMap; original(): Source; getCachedData(): CachedData; } export = CachedSource;