mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 06:51:17 +08:00
Update docs/api/main-config/main-config-features.mdx
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
This commit is contained in:
parent
f380221484
commit
0678a2ad01
@ -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