20 lines
537 B
TypeScript
20 lines
537 B
TypeScript
|
import type { StorybookConfig } from "@storybook/react-webpack5";
|
||
|
|
||
|
const config: StorybookConfig = {
|
||
|
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
|
||
|
addons: [
|
||
|
"@storybook/preset-create-react-app",
|
||
|
"@storybook/addon-onboarding",
|
||
|
"@storybook/addon-links",
|
||
|
"@storybook/addon-essentials",
|
||
|
"@chromatic-com/storybook",
|
||
|
"@storybook/addon-interactions",
|
||
|
],
|
||
|
framework: {
|
||
|
name: "@storybook/react-webpack5",
|
||
|
options: {},
|
||
|
},
|
||
|
staticDirs: ["..\\public"],
|
||
|
};
|
||
|
export default config;
|