diff --git a/storybook/main.js b/storybook/main.js index 7a650e3..5bb73b5 100644 --- a/storybook/main.js +++ b/storybook/main.js @@ -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", + ] } \ No newline at end of file