Material UI TypeScript props not auto generated with autodocs #32023
Replies: 1 comment 1 reply
-
Hi @anthonyma94! I'm Dosu and I’m helping the storybook team. This is a known limitation with Storybook's prop extraction when using Material UI and TypeScript. The underlying issue is that Recent Storybook releases (v9+) and updates to Workarounds:
Keep an eye on Storybook and To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I'm following the blog post from here with Storybook v9 and MUI v7. I got the theme itself working, but prop types aren't being auto generated. I even copied the exact component just to double check.
main.ts
preview.tsx
Button.tsx
Button.stories.tsx
result

There should be way more props, but only component is showing for some reason. If anyone can help me out I'd appreciate it!
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions