2023-01-13 14:52:08 +00:00
|
|
|
import { StorybookConfig } from '@storybook/types'
|
|
|
|
|
|
|
|
const config: StorybookConfig = {
|
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 13:36:39 +00:00
|
|
|
'storybook-dark-mode'
|
2023-01-10 11:24:24 +00:00
|
|
|
],
|
|
|
|
framework: {
|
|
|
|
name: '@storybook/react-vite',
|
2023-01-23 13:36:39 +00:00
|
|
|
options: {}
|
2023-01-10 11:24:24 +00:00
|
|
|
},
|
|
|
|
docs: {
|
2023-01-23 13:36:39 +00:00
|
|
|
autodocs: 'tag'
|
|
|
|
}
|
2023-01-10 11:24:24 +00:00
|
|
|
}
|
2023-01-13 14:52:08 +00:00
|
|
|
|
|
|
|
export default config
|