```ts // Button.stories.ts import { Meta, Story } from '@storybook/angular'; import { Button } from './button.component'; import { action } from '@storybook/addon-actions'; export default { /* 👇 The title prop is optional. * See https://storybook.js.org/docs/angular/configure/overview#configure-story-loading * to learn how to generate automatic titles */ title: 'Button', component: Button, } as Meta; export const Text: Story = () => ({ props: { text: 'Hello Button', onClick: action('clicked'), }, }); ```