```ts
// Button.stories.ts

import type { Meta, Story } 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',
  decorators: [(story) => {
    const decorator = document.createElement('div');
    decorator.style.margin = '3em';
    decorator.appendChild(story());
    return decorator;
  }],
} as Meta<ButtonArgs>;

export const Primary: Story = {
  render: (args) => createButton(args),
};
```