storybook/docs/snippets/angular/button-story-rename-story.ts.mdx

19 lines
260 B
Plaintext

```ts
// Button.stories.ts
import Button from './button.component';
export default {
title: 'Components/Button',
component: Button,
};
export const Primary = () => ({
props: {
label: 'Button',
},
});
Primary.storyName = 'I am the primary';
```