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

25 lines
618 B
Text
Raw Normal View History

import { Canvas, Meta, Story, IconGallery, IconItem } from '@storybook/addon-docs';
2023-01-27 01:16:32 +03:00
import { Image, ImageRow } from './ImageAsset';
<Meta title="owncast/Frontend Assets/Emoji" parameters=\{{previewTabs: { canvas: { hidden: true } }, chromatic: { disableSnapshot: true }}} />
2023-01-27 01:16:32 +03:00
# Built-in Custom Emoji
{{#each emojiCollections}}
## {{capitalize this.name}}
2023-01-27 03:37:29 +03:00
<a href="img/emoji/{{this.name}}/LICENSE.md" target="_blank">
LICENSE
</a>
<IconGallery>
{{#each images}}
<IconItem name="{{this.name}}">
<img src="{{this.src}}" />
</IconItem>
{{/each}}
</IconGallery>
2023-01-27 01:16:32 +03:00
{{/each}}