-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
[addon-docs] docgen descriptions do not work with component decorators #8134
Comments
I think this is the fix for it storybookjs/babel-plugin-react-docgen#74 Can someone please take a look? |
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks! |
Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook! |
Any update on this, cant seem to have description for props. |
I tried the |
To add some additional information, after updating all @storybook packages to It doesn't seem to matter using |
Same for me, the props table is empty |
As a workaround you can simply provide the undecorated component as the |
In one of the recent updates (I'm on |
Describe the bug
When using a component with a decorator, the component description and propType descriptions do not show up. Removing the decorator from the component allows them to show up.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The description and propTypes description should display when a component is using a decorator.
Screenshots
![Screen Shot 2019-09-19 at 1 28 41 PM](https://user-images.githubusercontent.com/1428256/65266660-811a6c00-dae1-11e9-9b44-88837fb37347.png)
With decorator
Without decorator`
![Screen Shot 2019-09-19 at 1 28 56 PM](https://user-images.githubusercontent.com/1428256/65266659-811a6c00-dae1-11e9-81ca-e0df0af7bb9a.png)
Code snippets
ExampleComponent.jsx
ExampleComponent.stories.jsx
System:
Additional context
None
The text was updated successfully, but these errors were encountered: