Update docs/writing-stories/play-function.md

Co-authored-by: Kyle Gach <kyle.gach@gmail.com>
This commit is contained in:
jonniebigodes 2021-10-14 22:10:14 +01:00 committed by GitHub
parent 5fb0a5b291
commit 33a97116a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ The most common scenario for component interaction is a button click. If you nee
When Storybook loads the story and the function executes, it interacts with the component and triggers the button click, similar to what a user would do.
Asides from click events, you can also script additional events with the `play` function. For example, if your component includes a dropdown with various options, you can write the following story and test each scenario:
Asides from click events, you can also script additional events with the `play` function. For example, if your component includes a select with various options, you can write the following story and test each scenario:
<!-- prettier-ignore-start -->