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

26 lines
570 B
Text
Raw Normal View History

2023-01-27 01:16:32 +03:00
import { Canvas, Meta, Story } from '@storybook/addon-docs';
import { Image, ImageRow } from './ImageAsset';
<Meta title="owncast/Frontend Assets/Emoji" parameters=\{{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
2023-01-27 07:46:10 +03:00
<Story
name="{{capitalize this.name}}"
>
<a href="img/emoji/{{this.name}}/LICENSE.md" target="_blank">
2023-01-27 03:37:29 +03:00
LICENSE
</a>
<ImageRow images={[
{{#each this.images}}
{src: "{{this.src}}", name: "{{this.name}}"},
{{/each}}
]}/>
2023-01-27 07:46:10 +03:00
</Story>
2023-01-27 01:16:32 +03:00
{{/each}}