storybook/docs/snippets/html/button-story-default-exports.ts.mdx

16 lines
361 B
Plaintext

```ts
// Button.stories.ts
import { Meta } from '@storybook/html';
import { createButton, ButtonArgs } from './Button';
export default {
/* 👇 The title prop is optional.
* See https://storybook.js.org/docs/html/configure/overview#configure-story-loading
* to learn how to generate automatic titles
*/
title: 'Button',
} as Meta<ButtonArgs>;
```