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

19 lines
281 B
Plaintext

```ts
// Button.stories.ts
import { Meta } from '@storybook/angular/types-6-0';
import Button from './button.component';
export default {
title: 'Components/Button',
component: Button,
} as Meta;
export const Primary = () => ({
props: {
label: 'Button',
},
});
```