Skip to content

Commit

Permalink
Show an example of 'magically' fixed issue
Browse files Browse the repository at this point in the history
Reference #175
  • Loading branch information
xeho91 committed May 14, 2024
1 parent b9cee03 commit 9c362d3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions stories/metaexport.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<script context='module'>
<script lang="ts" context="module">
import Button from './Button.svelte';
/**
* Stories about a Button.
*
*
* This description is set as a commentary on the meta export.
*/
export const meta = {
title: 'MetaExport/MetaExport',
component: Button,
tags: ['autodocs']
}
tags: ['autodocs'],
};
</script>

<script>
import { Story, Template } from '../src/index';
import { Story, Template } from '../src/index.js';
let count = 0;
function handleClick() {
Expand All @@ -28,14 +28,15 @@
</Button>
</Template>

<Story name="Default"/>
<Story name="Default" />

<!-- Story about the Rounded State -->
<Story name="Rounded" args={{rounded: true}}/>
<Story name="Rounded" args={{ rounded: true }} />

<Story name="Square" source args={{rounded: false}}/>
<Story name="Square" source args={{ rounded: false }} />

<!-- Dynamic snippet should be disabled for this story -->
<Story name="Button No Args">
<Button>Label</Button>
</Story>
</Story>

0 comments on commit 9c362d3

Please sign in to comment.