Replies: 2 comments 2 replies
-
I have a somewhat related question about how best to include the jsdocs descriptions of variants so that it can be picked up by Storybook autodocs. My assumption is that if docgen is working then it would flow into Storybook as well. Tried adding in comments in a few places, same as you, but I haven't found anything obvious. |
Beta Was this translation helpful? Give feedback.
-
My approach to this look something like this:
It's a little bit annoying, but it does get the job done and works with storybook and likely react-docgen-typescript as well. |
Beta Was this translation helpful? Give feedback.
-
I wonder anyone tried to use react-docgen-typescript with tailwind-variants?
Docgen tool is picking up variants which is great, but I can't find out how to set the description since usually it reads from JSDoc comments. However comments within tv not picking up..
Beta Was this translation helpful? Give feedback.
All reactions