Replies: 1 comment 2 replies
-
One important change you might miss is that starting from Storybook 8.0, we use .storybook/main.ts|js
export default {
framework: '@storybook/your-framework',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
+ typescript: {
+ reactDocgen: 'react-docgen-typescript',
+ },
}; I hope this fixes your issue. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have the following
.mdx
file:Which is currently being rendered as expected with Storybook v7 in this live demo. It renders something like this:
With the migration to Storybook v8, I replaced the
ArgsTable
withArgTypes
, and this is what I get:There's a deployment PR preview available here.
What am I missing? How can I have the same output in Storybook v8 as the one I currently get with v7?
Additional information
Here's my
main.ts
configuration:Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions