```ts
// MyComponent.stories.ts

import { Meta } from '@storybook/angular/types-6-0';

import imageFile from './static/image.png';

export default {
  title: 'img',
} as Meta;

const image = {
  src: imageFile,
  alt: 'my image',
};

export const withAnImage = () => ({
  template: `<img src="{{src}}" alt="{{alt}}" />`,
  props: {
    src: image.src,
    alt: image.alt,
  },
});
```
