react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
11 lines (10 loc) • 426 B
TypeScript
import { Channel } from '@storybook/addons';
import { StoryId } from '@storybook/csf';
import { StorySpecifier, StoryIndex, StoryIndexEntry } from './types';
export declare class StoryIndexStore {
channel: Channel;
stories: StoryIndex['stories'];
constructor({ stories }?: StoryIndex);
storyIdFromSpecifier(specifier: StorySpecifier): string;
storyIdToEntry(storyId: StoryId): StoryIndexEntry;
}