UNPKG

@storybook/react

Version:

Storybook for React: Develop React Component in isolation with Hot Reloading.

17 lines (16 loc) 471 B
import { ReactElement } from 'react'; export type { RenderContext } from '@storybook/store'; export type { StoryContext } from '@storybook/csf'; export interface ShowErrorArgs { title: string; description: string; } export declare type StoryFnReactReturnType = ReactElement<unknown>; export interface IStorybookStory { name: string; render: (context: any) => any; } export interface IStorybookSection { kind: string; stories: IStorybookStory[]; }