UNPKG

486 BTypeScriptView Raw
1import { StoryFn, StoryApi, ClientStoryApi } from '@storybook/addons';
2export declare const addDecorator: ClientStoryApi<any>['addDecorator'];
3export declare type DecoratorFn = Parameters<typeof addDecorator>[0];
4/** Extract components from story and emit them to the panel */
5export declare const jsxDecorator: (...args: any) => any;
6declare const _default: {
7 addWithJSX(this: StoryApi<unknown>, kind: string, storyFn: StoryFn<any>): StoryApi<unknown>;
8};
9export default _default;