-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
How to display state properties of a react component #3561
Comments
Hey @amittkSharma, what properties of the state do you exactly want to display? The reason that the |
Hi Keraito, Thanks for the response, but the thing I am referring is some kind of state interface that a react component has? This will be useful for the user using the storybook to get the information that what kind of state a component will be maintaining. Thanks |
Hi @amittkSharma, The info addon currently uses the parse tree via babel plugin to generate docs. However, state documentation is not supported unless you just want to use |
Thanks, looking forward to the feature in the addon. |
For now, if you want to document state it'll prob be just just to write it out. 👍 |
Hello Team,
I am working with Storybook and using the info Addon for displaying the properties of the component in the story. And I wanted to display the state properties of the component too.
Thanks in advance.
Amit
The text was updated successfully, but these errors were encountered: