```ts // MyComponent.stories.ts import { html } from 'lit-html'; import type { Meta, StoryObj } from '@storybook/web-components'; import imageFile from './static/image.png'; const meta: Meta = { title: 'img', component: 'my-component', }; const image = { src: imageFile, alt: 'my image', }; export default meta; type Story = StoryObj; /* *👇 Render functions are a framework specific feature to allow you control on how the component renders. * See https://storybook.js.org/docs/7.0/web-components/api/csf * to learn how to use render functions. */ export const WithAnImage: Story = { render: () => html`${image.alt}`, }; ```