You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code snippet found in storybook/docs/_snippets/page-story-slots.md, there is a <template let:args> declaration. If intended as such, it seems that <Template let:arg> is more contextually appropriate.
Here is the relevant code snippet:
storybook/docs/_snippets/page-story-slots.md
{/* Page.stories.svelte */}
<script>import{Meta,Template,Story}from'@storybook/addon-svelte-csf';importPagefrom'./Page.svelte';</script><metatitle="Page" component="{Page}" /> // not meta => Meta from @storybook/addon-svelte-csf
<templatelet:args> // not template => Template from @storybook/addon-svelte-csf
<Page{...args}><footer>{args.footer}</footer></Page></template><Storyname="CustomFooter" args={{footer: 'Built with Storybook', }} />
@domuk-k, thanks for taking the time to reach out to us by opening this issue. So that you're aware, the snippets you mentioned are a bit outdated as they referenced a previous version of the Svelte addon and don't reflect the current state of the integration. We're looking into it and hope to update the snippets shortly.
Describe the problem
In the code snippet found in
storybook/docs/_snippets/page-story-slots.md
, there is a<template let:args>
declaration. If intended as such, it seems that<Template let:arg>
is more contextually appropriate.Here is the relevant code snippet:
and same for these snippets i guess
Additional context
No response
The text was updated successfully, but these errors were encountered: