AFFiNE/packages/component/.storybook/main.ts

20 lines
496 B
TypeScript
Raw Normal View History

2023-02-14 06:18:43 +03:00
import type { StorybookConfig } from '@storybook/react-vite';
export default {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
staticDirs: ['../../../apps/web/public'],
2023-03-11 08:15:19 +03:00
addons: [
'@storybook/addon-links',
'storybook-dark-mode-v7',
'@storybook/addon-interactions',
],
2023-02-14 06:18:43 +03:00
framework: {
name: '@storybook/react-vite',
options: {
builder: {
viteConfigPath: '.storybook/vite.config.ts',
},
},
},
} as StorybookConfig;