-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,21 +1,26 @@ | ||
| /**This file is used by Storyboook to determine where to look for stories and what file types can be stories. This is also where you define what addons you want to use. */ | ||
| /** | ||
| * Config files to control Storybook Server. Changes require a server restart. | ||
| * See: https://storybook.js.org/docs/react/configure/overview | ||
| */ | ||
|
|
||
| module.exports = { | ||
| /** | ||
| * Determines where to look for stories and what file types can be stories | ||
| * @type {string[]} | ||
| /** | ||
| * Array of globs that indicates the location of your story files, relative to main.js. | ||
| * @type {Array} | ||
| * @default | ||
| */ | ||
| "stories": [ | ||
| "../src/**/*.stories.@(js|jsx|ts|tsx|md|mdx)" | ||
| ], | ||
| /** | ||
| * Define what addons you want to use. | ||
| * @type {string[]} | ||
| * @default | ||
| */ | ||
| "addons": [ | ||
| "@storybook/addon-links", | ||
| "@storybook/addon-essentials", | ||
| "@storybook/preset-create-react-app", | ||
| ] | ||
| */ | ||
| "stories": [ | ||
| "../src/**/*.stories.@(js|jsx|ts|tsx|md|mdx)" | ||
| ], | ||
|
|
||
| /** | ||
| * Array of the addons you are using. | ||
| * @type {Array} | ||
| * @default | ||
| */ | ||
| "addons": [ | ||
| "@storybook/addon-links", | ||
| "@storybook/addon-essentials", | ||
| "@storybook/preset-create-react-app", | ||
| ] | ||
| } |