Skip to content

Commit

Permalink
Merge pull request #21955 from storybookjs/add-decorators-youtube-cal…
Browse files Browse the repository at this point in the history
…lout

Add YouTubeCallout to Decorators docs page
  • Loading branch information
jonniebigodes authored Apr 5, 2023
2 parents 08d48da + 0d5a40d commit f27278d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/writing-stories/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: 'Decorators'
---

<YouTubeCallout id="4yi_yCTkgng" title="Storybook Decorators Crash Course" />

A decorator is a way to wrap a story in extra “rendering” functionality. Many addons define decorators to augment your stories with extra rendering or gather details about how your story renders.

When writing stories, decorators are typically used to wrap stories with extra markup or context mocking.
Expand Down

0 comments on commit f27278d

Please sign in to comment.