Skip to content

Commit

Permalink
fix(dependencies): update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
mnlfischer committed Jun 19, 2024
1 parent e2e0261 commit 4b49306
Show file tree
Hide file tree
Showing 4 changed files with 2,151 additions and 1,734 deletions.
12 changes: 9 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,30 @@ import type { StorybookConfig } from "@storybook/react-vite";
const config: StorybookConfig = {
stories: ["../src/**/*.stories.@(ts|tsx)", "../src/**/*.@(mdx|stories.@(md))"],
staticDirs: ["../assets"],

addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
"@storybook/addon-docs",
"@storybook/addon-mdx-gfm",
],

framework: {
name: "@storybook/react-vite",
options: {
strictMode: true,
},
},
docs: {
autodocs: true,
},

docs: {},

core: {
disableTelemetry: true,
},

typescript: {
reactDocgen: "react-docgen-typescript"
}
};
export default config;
2 changes: 2 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ const preview: Preview = {
showPanel: true,
},
},

tags: ["autodocs"]
};

export default preview;
Loading

0 comments on commit 4b49306

Please sign in to comment.