Skip to content

Commit

Permalink
Merge pull request #130 from abusix/pla-1225-update-storybook-in-hail…
Browse files Browse the repository at this point in the history
…storm

fix(dependencies): update storybook
  • Loading branch information
mnlfischer committed Jun 19, 2024
2 parents e2e0261 + 598cf97 commit 21a3f20
Show file tree
Hide file tree
Showing 7 changed files with 2,153 additions and 1,742 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 21a3f20

Please sign in to comment.