owncast/web/.storybook/tools/Images.stories.mdx

13 lines
287 B
Text
Raw Normal View History

2023-01-27 07:14:52 +03:00
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { Image, ImageRow } from './ImageAsset';
2023-01-28 07:07:14 +03:00
<Meta title="{{category}}" />
2023-01-27 07:14:52 +03:00
# {{capitalize title}}
<ImageRow images={[
{{#each images}}
{src: "{{this.src}}", name: "{{this.name}}"},
{{/each}}
]}/>