22 lines
453 B
Plaintext
22 lines
453 B
Plaintext
---
|
|
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>
|