storybook/docs/snippets/svelte/list-story-starter.native-format.mdx
2021-05-06 17:36:21 +01:00

19 lines
316 B
Plaintext

```html
<!-- List.stories.svelte -->
<script>
import { Meta, Template, Story } from '@storybook/addon-svelte-csf';
import List from './List.svelte';
</script>
<Meta title="List" component={List} />
<Template let:args>
<List {...args} />
</Template>
<Story name="Empty">
<List {...args} />
</Story>
```