-
-
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
Info Addon - Props table when using nested types with react-docgen-typescript-loader #7661
Comments
Automention: Hey @elevatebart @shilman, you've been tagged! Can you give a hand here? |
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! |
FYI |
Did you manage to achieve this? I'm trying to do the same but could not get around to do it |
Is this issue fixed? Do we have a way to display nested types? |
Describe the bug
I have followed the storybook docs to enable auto generation of the prop types table for my components. Things are working but there is a slight issue when I use separate nested types.
For example with the following props:
I get the following table:
![image](https://user-images.githubusercontent.com/17955210/62348251-eefcdb00-b515-11e9-8d0b-0d434a335c0d.png)
the type of the
task
property isTaskInfo
without showing the details ofTaskInfo
anywhere. Is it possible to somehow show details ofTaskInfo
or display the structure ofTaskInfo
as the type instead?System:
The text was updated successfully, but these errors were encountered: