New
Storybook’s Visual Tests addon enters betaVisual test with Chromatic
Star82,187

previewAnnotations

Parent: main.js|ts configuration

Type: string[] | ((config: string[], options: Options) => string[] | Promise<string[]>)

Add additional scripts to run in the story preview.

Mostly used by frameworks. Storybook users and addon authors should add scripts to preview.js instead.

@storybook/nextjs framework's src/preset.ts
Loading...

Was this page helpful?

Markdown accepted ([link text](url), _italic_, **bold**, etc). Your anonymous feedback will be posted publicly on GitHub.

✍️ Edit on GitHub – PRs welcome!
Storybook
Join the community
6,521 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI