storybook/docs/snippets/angular/button-story.ts.mdx
2021-09-03 23:31:04 +01:00

19 lines
237 B
Plaintext

```ts
// Button.stories.ts
import { Button } from './button.component';
export default {
component: Button,
};
export const Primary = {
render: () => ({
props: {
label: 'Button',
primary: true,
},
}),
};
```