21 lines
446 B
TypeScript
21 lines
446 B
TypeScript
import type { StorybookConfig } from '@storybook/react-vite'
|
|
|
|
const config: StorybookConfig = {
|
|
framework: '@storybook/react-vite',
|
|
|
|
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@storybook/addon-interactions',
|
|
'storybook-addon-designs',
|
|
'storybook-dark-mode',
|
|
],
|
|
|
|
docs: {
|
|
autodocs: 'tag',
|
|
},
|
|
}
|
|
|
|
export default config
|