-
Notifications
You must be signed in to change notification settings - Fork 0
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
Demonstration of description
#2
Conversation
FYI. Regarding the issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! ❤️
Added some very minor comments
Encountered issue with setting the description in the Svelte CSF format, above the export const meta
Could you elaborate on this?
In the Svelte CSF format, setting explicitly the description inside the component via parameter prop doesn't work, nor override the comment.
Great find! Sounds like a regular bug.
In the current version of @storybook/addon-svelte-csf
<Story>
and<Template />
component, it doesn't have typings for tags prop, so the TypeScript will complain - which is unrelated to the subject of this demonstration.
Thanks!
Might need to wait for storybookjs/storybook#26634 to be released, so we can improve the examples showcase for this case.
This is already in the 8.1.0 beta which we're using in this repo, so it should be fine.
What I recall from refactoring the parser in |
Issues
lang="ts"
. [Bug] JSDoc description disappears withlang="ts"
addon-svelte-csf#175export const meta
.Svelte CSF
format, setting explicitly the description inside the<Story />
component viaparameter
prop doesn't work, nor override the comment.In the current version of@storybook/addon-svelte-csf
<Story>
and<Template />
component, it doesn't have typings fortags
prop, so the TypeScript will complain - which is unrelated to the subject of this demonstration.Might need to wait for Tags: Add project tags, negation,dev
/autodocs
/test
system tags storybook#26634 to be released, so we can improve the examples showcase for this case.