storybook/docs/snippets/web-components/button-story-hoisted.ts.mdx
Kyle Gach b97d94e005 Address feedback
- Newline following filename comment
- Fix URLs in comments
- Ensure consistent usage of `ts` vs `tsx` language
2023-01-12 14:17:39 -07:00

17 lines
352 B
Plaintext

```ts
// Button.stories.ts
import type { Meta, Storybook } from '@storybook/your-framework';
const meta: Meta = {
title: 'Design System/Atoms/Button',
component: 'demo-component',
};
export default meta;
type Story = StoryObj;
// This is the only named export in the file, and it matches the component name
export const Button: Story = {};
```