2022-03-26 17:10:11 +00:00
|
|
|
---
|
2022-03-26 18:04:24 +00:00
|
|
|
to: <%= to %>
|
2022-03-26 17:10:11 +00:00
|
|
|
---
|
|
|
|
<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>
|