storybook/docs/snippets/angular/component-story-static-asset-cdn.ts.mdx
2021-04-17 14:25:08 +02:00

14 lines
259 B
Plaintext

```ts
// MyComponent.stories.ts
import { Meta } from '@storybook/angular/types-6-0';
export default {
title: 'img',
} as Meta;
export const withAnImage = () => ({
template: `<img src="https://place-hold.it/350x150" alt="My CDN placeholder" />`
});
```