-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Props are not resolved as expected in props table with typescript #10804
Comments
closing as dupe to #10311 |
@shilman i am using 5.3 storybook and config is based on the doc https://storybook.js.org/docs/configurations/typescript-config/.
Dupe mentioned is for 6.0. Please let me know what am i missing. I see in this example the values are resolved as expected https://github.com/storybookjs/storybook/blob/next/addons/docs/react/README.md |
The behavior you’re seeing is a function of the CRA preset, not of SB 5.x vs 6.0 |
Thanks, @shilman! I am not using CRA. Also how these values are resolved in the image example https://github.com/storybookjs/storybook/blob/next/addons/docs/react/README.md.
I am expecting the same behavior using the config mentioned in the docs. Not sure what am i missing?
Current output
|
Are you suing a custom babel or webpack config? |
I am using webpack config with |
Describe the bug
Version: SB 5.3.18
index.tsx
Current Output

main.js
Expected behavior
Similar to the image in this docs https://github.com/storybookjs/storybook/blob/next/addons/docs/react/README.md
TIA for helping me to figure this out!!
The text was updated successfully, but these errors were encountered: