Skip to content

Commit

Permalink
chore: use react-docgen-typescript for Storybook gen
Browse files Browse the repository at this point in the history
This used to be the default pre-Storybook 8, but now the default is
`react-docgen`, which isn't as accurate.

Signed-off-by: Drew Hess <src@drewhess.com>
  • Loading branch information
dhess committed May 5, 2024
1 parent 4f9909a commit e331ce5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const config: StorybookConfig = {
docs: {
autodocs: true,
},
typescript: {
reactDocgen: "react-docgen-typescript",
},
};

export default config;

0 comments on commit e331ce5

Please sign in to comment.