storybook/docs/snippets/web-components/csf-3-example-starter.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

16 lines
273 B
Plaintext

```ts
// CSF 3
import type { Meta, StoryObj } from '@storybook/web-components';
const meta: Meta = {
title: 'components/Button',
component: 'demo-button',
};
export default meta;
type Story = StoryObj;
export const Primary: Story = { args: { primary: true } };
```