Add video callout to /docs/writing-stories/introduction

This commit is contained in:
Kyle Gach 2023-02-14 09:27:32 -07:00 committed by GitHub
parent 8d9d279f16
commit 13d79293e8
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.