```ts // MyComponent.stories.ts import { Meta, Story } from '@storybook/angular'; import { MyComponent } from './MyComponent.component'; import imageFile from './static/image.png'; 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: 'img', component: MyComponent, } as Meta; const image = { src: imageFile, alt: 'my image', }; export const WithAnImage: Story () => ({ template: `{{alt}}`, props: { src: image.src, alt: image.alt, }, }); ```