storybook/docs/snippets/svelte/button-story-default-export-with-component.js.mdx
2021-08-28 01:52:57 +01:00

12 lines
248 B
Plaintext

```js
// Button.stories.js
import Button from './Button.svelte';
export default {
component: Button,
//👇 Title is optional, you can omit it and Storybook automatically generates the title for the story
title: 'Components/Button',
};
```