mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 03:21:49 +08:00
15 lines
288 B
Plaintext
15 lines
288 B
Plaintext
```ts
|
|
// CSF 3
|
|
|
|
import type { Meta, StoryObj } from '@storybook/angular';
|
|
|
|
import { Button } from './button.component';
|
|
|
|
const meta: Meta<Button> = { component: Button };
|
|
export default meta;
|
|
|
|
type Story = StoryObj<Button>;
|
|
|
|
export const Primary: Story = { args: { primary: true } };
|
|
```
|