Skip to content

Commit

Permalink
Merge pull request #25551 from storybookjs/mention-parameters-api
Browse files Browse the repository at this point in the history
Docs: Add callout pointing to parameters API reference
  • Loading branch information
kylegach authored Jan 11, 2024
2 parents e942e71 + 80970b8 commit b969c39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/writing-stories/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ title: 'Parameters'

Parameters are a set of static, named metadata about a story, typically used to control the behavior of Storybook features and addons.

<Callout variant="info">

Available parameters are listed in the [parameters API reference](../api/parameters.md#available-parameters).

</Callout>

For example, let’s customize the backgrounds addon via a parameter. We’ll use `parameters.backgrounds` to define which backgrounds appear in the backgrounds toolbar when a story is selected.

## Story parameters
Expand Down

0 comments on commit b969c39

Please sign in to comment.