Skip to content

Commit

Permalink
npx storybook init
Browse files Browse the repository at this point in the history
  • Loading branch information
pushred committed Sep 20, 2022
1 parent a06a95c commit 410cb43
Show file tree
Hide file tree
Showing 22 changed files with 38,037 additions and 11,288 deletions.
16 changes: 16 additions & 0 deletions .storybook/main.js
@@ -0,0 +1,16 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/preset-create-react-app"
],
"framework": "@storybook/react",
"core": {
"builder": "@storybook/builder-webpack5"
}
}
9 changes: 9 additions & 0 deletions .storybook/preview.js
@@ -0,0 +1,9 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}

0 comments on commit 410cb43

Please sign in to comment.