Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update storybook v8 #67

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
import type {StorybookConfig} from '@storybook/react-webpack5';
const config: StorybookConfig = {
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],

addons: [
'@storybook/addon-links',
{name: '@storybook/addon-essentials', options: {backgrounds: false}},
'@storybook/addon-interactions',
'@storybook/preset-scss',
'@storybook/addon-webpack5-compiler-babel'
],

framework: {
name: '@storybook/react-webpack5',
options: {fastRefresh: true},
},

docs: {
autodocs: 'tag',
defaultName: 'Docs',
defaultName: 'Docs'
},

typescript: {
reactDocgen: 'react-docgen-typescript'
}
};
export default config;
Loading
Loading