Skip to content

ModeDefinition

Defined in: packages/core/src/capture/adapter.ts:26

One entry of parameters.{chromatic,storyshelf}.modes. viewport sizes the page, disable removes an inherited mode, every other key is a Storybook global (theme, locale, backgrounds, …) applied through the globals URL arg.

[global: string]: unknown

optional disable?: boolean

Defined in: packages/core/src/capture/adapter.ts:28


optional viewport?: ModeViewportValue

Defined in: packages/core/src/capture/adapter.ts:27