mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-15 00:05:35 +08:00
Merge branch 'norbert/globals-docs-changes' of https://github.com/storybookjs/storybook into norbert/globals-docs-changes
This commit is contained in:
commit
d64bff22c8
@ -50,10 +50,22 @@ Filter args with a "target" on the type from the render function.
|
||||
|
||||
Type: `boolean`
|
||||
|
||||
Use the modern viewport story globals API.
|
||||
Configures the [Viewports addon](../../essentials/backgrounds.mdx) to opt-in to the new story globals API for configuring viewports.
|
||||
|
||||
{/* prettier-ignore-start */}
|
||||
|
||||
<CodeSnippets path="main-config-features-viewport-story-globals.md" />
|
||||
|
||||
{/* prettier-ignore-end */}
|
||||
|
||||
## `backgroundsStoryGlobals`
|
||||
|
||||
Type: `boolean`
|
||||
|
||||
Use the modern backgrounds story globals API.
|
||||
Configures the [Backgrounds addon](../../essentials/backgrounds.mdx) to opt-in to the new story globals API for configuring backgrounds.
|
||||
|
||||
{/* prettier-ignore-start */}
|
||||
|
||||
<CodeSnippets path="main-config-features-backgrounds-story-globals.md" />
|
||||
|
||||
{/* prettier-ignore-end */}
|
||||
|
Loading…
x
Reference in New Issue
Block a user