```ts
// Button.stories.ts

import { Meta, StoryFn } 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>;

export const Primary: StoryFn<ButtonArgs> = (args) => createButton(args);
Primary.storyName = 'I am the primary';
```
