storybook/docs/snippets/angular/button-story.mdx.mdx
2022-07-07 19:05:48 +01:00

20 lines
311 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"
render={() => ({
props: {
primary: true,
label: 'Button',
},
})} />
```