aotds-docks/_templates/story/new/stories.svelte.temp

22 lines
453 B
Plaintext
Raw Normal View History

2022-03-26 17:10:11 +00:00
---
to: <%= storypath %>
---
<Meta title="<%= component %>" component={<%= component %>} argTypes={{}} />
<Story name="Primary" args={{}} />
<Template let:args>
<div style="width: 50em">
<<%= component %> />
</div>
</Template>
<script>
import { Meta, Template, Story } from "@storybook/addon-svelte-csf";
import { action } from "@storybook/addon-actions";
import <%= component %> from './<%=
h.path.basename(path)
%>';
</script>