@storybook/addon-docs
Version:
Superior documentation for your components
18 lines (17 loc) • 577 B
TypeScript
import { Context } from 'react';
export interface DocsContextProps {
id?: string;
selectedKind?: string;
selectedStory?: string;
/**
* mdxStoryNameToKey is an MDX-compiler-generated mapping of an MDX story's
* display name to its story key for ID generation. It's used internally by the `<Story>`
* and `Preview` doc blocks.
*/
mdxStoryNameToKey?: Record<string, string>;
mdxComponentMeta?: any;
parameters?: any;
storyStore?: any;
forceRender?: () => void;
}
export declare const DocsContext: Context<DocsContextProps>;