Skip to content

Commit

Permalink
[Feat] Stories init
Browse files Browse the repository at this point in the history
Initialized stories dependency.
  • Loading branch information
angel-penchev committed Oct 22, 2021
1 parent 3027e4a commit 016411b
Show file tree
Hide file tree
Showing 4 changed files with 31,755 additions and 19,060 deletions.
11 changes: 11 additions & 0 deletions client/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app"
]
}
9 changes: 9 additions & 0 deletions client/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
}
Loading

0 comments on commit 016411b

Please sign in to comment.