Generate more stories from images

This commit is contained in:
Gabe Kangas
2023-01-26 20:15:02 -08:00
parent 4638afcc7a
commit 647685627d
5 changed files with 109 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { Image, ImageRow } from './ImageAsset';
<Meta title="owncast/Assets/{{title}}" />
# {{capitalize title}}
<ImageRow images={[
{{#each images}}
{src: "{{this.src}}", name: "{{this.name}}"},
{{/each}}
]}/>