```ts // Button.stories.ts import { Meta, Story } from '@storybook/angular'; import { action } from '@storybook/addon-actions'; import { Button } from './button.component'; 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 = ({ label, onClick }) => ({ props: { label, onClick, }, }); Text.args = { label: 'Hello', onClick: action('clicked'), }; ```