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 and shilman committed Apr 6, 2023
1 parent 5532184 commit 270a1b3
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 270a1b3

Please sign in to comment.