1 | import { ComponentType, ReactElement } from 'react';
|
2 | import { WebRenderer } from '@storybook/types';
|
3 |
|
4 | interface ReactRenderer extends WebRenderer {
|
5 | component: ComponentType<this['T']>;
|
6 | storyResult: StoryFnReactReturnType;
|
7 | }
|
8 | type StoryFnReactReturnType = ReactElement<unknown>;
|
9 |
|
10 | export { ReactRenderer as R, StoryFnReactReturnType as S };
|