UNPKG

471 BTypeScriptView Raw
1import { ReactElement } from 'react';
2export type { RenderContext } from '@storybook/store';
3export type { StoryContext } from '@storybook/csf';
4export interface ShowErrorArgs {
5 title: string;
6 description: string;
7}
8export declare type StoryFnReactReturnType = ReactElement<unknown>;
9export interface IStorybookStory {
10 name: string;
11 render: (context: any) => any;
12}
13export interface IStorybookSection {
14 kind: string;
15 stories: IStorybookStory[];
16}