mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 02:01:48 +08:00
- Newline following filename comment - Fix URLs in comments - Ensure consistent usage of `ts` vs `tsx` language
16 lines
273 B
Plaintext
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 } };
|
|
```
|