1 | import { ComponentType } from 'react';
|
2 | import { WebRenderer, Canvas } from 'storybook/internal/types';
|
3 |
|
4 | interface ReactRenderer extends WebRenderer {
|
5 | component: ComponentType<this['T']>;
|
6 | storyResult: StoryFnReactReturnType;
|
7 | mount: (ui?: JSX.Element) => Promise<Canvas>;
|
8 | }
|
9 | type StoryFnReactReturnType = JSX.Element;
|
10 |
|
11 | export { ReactRenderer as R };
|