```ts
// MyComponent.stories.ts

import { MyComponent } from './MyComponent.component';

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

export default {
  component: MyComponent,
};

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

export const withAnImage = {
  render: () => ({
    props: {
      src: image.src,
      alt: image.alt,
    },
  }),
};
```
