Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/writing-stories/naming-components-and-hierarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: 'Naming components and hierarchy'
---

<YouTubeCallout id="VPfjrhDlkVc" title="How to Name Stories and Components" />

The title of the component you export in the `default` export controls the name shown in the sidebar.

<!-- prettier-ignore-start -->
Expand Down
2 changes: 2 additions & 0 deletions docs/writing-stories/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
title: 'Parameters'
---

<YouTubeCallout id="u32vmGVJY2U" title="Build Better Storybooks with Parameters" />

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

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.
Expand Down
Loading