UNPKG

storybook-chrome-screenshot

Version:

A Storybook addon, Save the screenshot image of your stories! via puppeteer.

5 lines (4 loc) 294 B
import { PartialScreenshotOptions } from '../../models/options'; import { Story } from '../../models/story'; import { VueStory } from './models'; export declare const withScreenshot: (options?: PartialScreenshotOptions) => (getStory: (story: Story) => VueStory, ctx: Story | undefined) => any;