owncast/web/.storybook/tools/Images.template

14 lines
407 B
Text
Raw Normal View History

import { Canvas, Meta, Story, IconItem, IconGallery } from '@storybook/addon-docs';
2023-01-27 07:14:52 +03:00
<Meta title="{{category}}" parameters=\{{previewTabs: { canvas: { hidden: true } }, chromatic: { disableSnapshot: true }}} />
2023-01-27 07:14:52 +03:00
# {{capitalize title}}
<IconGallery>
{{#each images}}
<IconItem name="{{this.name}}">
<img src="{{this.src}}" />
</IconItem>
{{/each}}
</IconGallery>