storybook/docs/snippets/angular/button-story.mdx.mdx
2021-11-04 15:48:36 +00:00

20 lines
300 B
Plaintext

```md
<!-- Button.stories.mdx-->
import { Meta, Story } from '@storybook/addon-docs';
import { Button } from './button.component.ts';
<Meta title="Button" component={Button} />
# Button
<Story name="Primary">
{{
props: {
primary: true,
label: 'Button',
},
}}
</Story>
```