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

14 lines
407 B
Plaintext
Raw Normal View History

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