2023-04-16 19:25:53 +02:00
|
|
|
import type { StorybookConfig } from "@storybook/nextjs"
|
|
|
|
|
const config: StorybookConfig = {
|
2023-04-21 11:20:31 +02:00
|
|
|
stories: ["../components/**/*.stories.mdx", "../components/**/*.stories.@(js|jsx|ts|tsx)"],
|
2025-08-14 02:19:10 +05:00
|
|
|
addons: ["@storybook/addon-links", "@storybook/addon-docs"],
|
|
|
|
|
|
2023-04-16 19:25:53 +02:00
|
|
|
framework: {
|
|
|
|
|
name: "@storybook/nextjs",
|
|
|
|
|
options: {},
|
|
|
|
|
},
|
2025-08-14 02:19:10 +05:00
|
|
|
|
2023-04-21 11:20:31 +02:00
|
|
|
typescript: {
|
|
|
|
|
check: false,
|
|
|
|
|
checkOptions: {},
|
|
|
|
|
reactDocgen: false,
|
|
|
|
|
reactDocgenTypescriptOptions: {
|
|
|
|
|
shouldExtractLiteralValuesFromEnum: true,
|
|
|
|
|
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
|
|
|
|
|
},
|
2025-08-14 02:19:10 +05:00
|
|
|
}
|
2023-04-16 19:25:53 +02:00
|
|
|
}
|
|
|
|
|
export default config
|