2023-04-11 18:52:18 +00:00
|
|
|
import type { StorybookConfig } from '@storybook/react-vite'
|
2023-01-13 14:52:08 +00:00
|
|
|
|
|
|
|
const config: StorybookConfig = {
|
2023-04-11 18:52:18 +00:00
|
|
|
framework: '@storybook/react-vite',
|
|
|
|
|
2023-01-10 11:24:24 +00:00
|
|
|
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
|
|
addons: [
|
|
|
|
'@storybook/addon-links',
|
|
|
|
'@storybook/addon-essentials',
|
2023-01-13 14:52:08 +00:00
|
|
|
'@storybook/addon-interactions',
|
|
|
|
'storybook-addon-designs',
|
2023-01-23 14:29:03 +00:00
|
|
|
'storybook-dark-mode',
|
2023-01-10 11:24:24 +00:00
|
|
|
],
|
2023-04-11 18:52:18 +00:00
|
|
|
|
2023-01-10 11:24:24 +00:00
|
|
|
docs: {
|
2023-01-23 14:29:03 +00:00
|
|
|
autodocs: 'tag',
|
|
|
|
},
|
2023-01-10 11:24:24 +00:00
|
|
|
}
|
2023-01-13 14:52:08 +00:00
|
|
|
|
|
|
|
export default config
|