storybook-chrome-screenshot
Version:
A Storybook addon, Save the screenshot image of your stories! via puppeteer.
5 lines (4 loc) • 314 B
TypeScript
/// <reference types="react" />
import { PartialScreenshotOptions } from '../../models/options';
import { Story } from '../../models/story';
export declare const withScreenshot: (options?: PartialScreenshotOptions) => (storyFn: Function, ctx: Story | undefined) => JSX.Element | ((context: Story) => JSX.Element);