storybook/docs/snippets/angular/button-story-with-addon-example.ts.mdx
2021-01-30 17:42:31 +00:00

18 lines
287 B
Plaintext

```ts
// Button.stories.ts
import { Meta } from '@storybook/angular/types-6-0';
import Button from './button.component';
export default {
title: 'Button',
component: Button,
parameters: {
myAddon: {
data: 'this data is passed to the addon',
},
},
} as Meta;
```