Skip to content

Commit

Permalink
chore: upgrade Storybook to 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Oct 7, 2022
1 parent 1a642d1 commit d7f4f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Expand Up @@ -4,7 +4,7 @@ import { StorybookConfig } from '@storybook/core-common';

const storybookConfig: StorybookConfig = {
stories: ['../stories/**/*.stories.tsx'],
typescript: { reactDocgen: 'react-docgen' },
typescript: { reactDocgen: 'react-docgen-typescript' },
core: {
builder: 'webpack5',
},
Expand Down
2 changes: 2 additions & 0 deletions .storybook/preview.tsx
@@ -1,6 +1,8 @@
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
controls: {
// Description toggle
// expanded: true,
matchers: {
color: /(background|color)$/i,
date: /Date$/,
Expand Down

0 comments on commit d7f4f06

Please sign in to comment.