Skip to content

Commit

Permalink
Merge pull request #23531 from storybookjs/shilman/23526-fix-source-d…
Browse files Browse the repository at this point in the history
…ocumentation

Documentation: Fix Source's auto description
  • Loading branch information
jonniebigodes authored Aug 1, 2023
2 parents be7e95f + 23fb848 commit 03a3590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/doc-block-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ Default: `parameters.docs.source.type` or `'auto'`

Specifies how the source code is rendered.

- **auto**: Same as **dynamic**, if supported by the framework in use; otherwise same as **code**
- **auto**: Same as **dynamic**, if the story's `render` function accepts args inputs and **dynamic** is supported by the framework in use; otherwise same as **code**
- **code**: Renders the value of [`code` prop](#code), otherwise renders static story source
- **dynamic**: Renders the story source with dynamically updated arg values

Expand Down

0 comments on commit 03a3590

Please sign in to comment.