```ts // Button.stories.ts import { Meta, Story } from '@storybook/angular/'; 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; //๐Ÿ‘‡ We create a โ€œtemplateโ€ of how args map to rendering const Template: Story = (args) => ({ props: args, }); //๐Ÿ‘‡ Each story then reuses that template export const Primary = Template.bind({}); Primary.args = { primary: true, label: 'Button', }; ```