Skip to content

Commit

Permalink
Add docs link, fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed Apr 5, 2021
1 parent cd71c1a commit 84a9fa3
Showing 1 changed file with 23 additions and 18 deletions.
41 changes: 23 additions & 18 deletions storybook/main.js
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",
]
}

0 comments on commit 84a9fa3

Please sign in to comment.