Skip to content

Commit

Permalink
chore: use react-docgen-typescript instead of react-docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
ctjhoa committed May 7, 2024
1 parent e004512 commit 5014504
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libs/shared/ui/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ const config: StorybookConfig = {
'../src/lib',
{ from: '../../../../node_modules/@awesome.me/kit-c4457d1be4/icons/webfonts', to: '/assets/fonts/font-awesome' },
],
typescript: {
// https://storybook.js.org/blog/storybook-8/#improved-react-and-vue-control-autogeneration
// https://storybook.js.org/docs/api/main-config-typescript#reactdocgen
// https://github.com/storybookjs/storybook/issues/26496
reactDocgen: 'react-docgen-typescript',
},
}

export default config
Expand Down

0 comments on commit 5014504

Please sign in to comment.