Merge pull request #21091 from storybookjs/writing-stories-video

This commit is contained in:
Kyle Gach 2023-02-14 10:00:05 -07:00 committed by GitHub
commit 8824f52ca9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@
title: 'How to write stories'
---
<YouTubeCallout id="P0WHt_L0-2g" title="How to write Storybook stories | Component Story Format" />
A story captures the rendered state of a UI component. Its a function that returns a components state given a set of arguments.
Storybook uses the generic term arguments (args for short) when talking about Reacts `props`, Vues `props`, Angulars `@Input`, and other similar concepts.