Autodocs does not read JSDoc from js files in React app #24778
Unanswered
daniel-stoian-lgp
asked this question in
Help
Replies: 1 comment
-
Nobody answered :( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've been trying to make autodocs work for components written in js files, but nothing is shown in the Docs section .
I created a reproduction repo here: https://github.com/daniel-stoian-lgp/autodocs
I created 2 components named "BodyText" written in a .js file and "BodyText1" written in a .tsx file. Both files have the same content.
For BodyText, the docs shows no information from the components, while for BodyText1, some information from the component is shown, but the props information is not shown
Does autodocs work only in Typescript? How can I make it show the props information as well?
Beta Was this translation helpful? Give feedback.
All reactions