UNPKG

storybook-chrome-screenshot

Version:

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

5 lines (4 loc) 302 B
import { PartialScreenshotOptions } from '../../models/options'; import { Story } from '../../models/story'; import { NgStory } from './models'; export declare const withScreenshot: (options?: PartialScreenshotOptions) => (getStory: (story: Story) => NgStory) => NgStory | ((story: Story) => NgStory);