Update docs/faq.md

This commit is contained in:
Michael Shilman 2022-01-17 19:46:33 +08:00 committed by GitHub
parent 97bc4ee149
commit 12f44d7c39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -349,4 +349,4 @@ Applying this small change will enable you to add syntax highlight for SCSS or a
### How can my code detect if it is running in Storybook?
You can do this by checking for the `IS_STORYBOOK` global variable, which will equal `true` when running in Storybook.
You can do this by checking for the `IS_STORYBOOK` global variable, which will equal `true` when running in Storybook. The environment variable `process.env.STORYBOOK` is also set to `true`.