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

26 lines
567 B
Plaintext
Raw Normal View History

2023-01-26 23:16:32 +01: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-26 23:16:32 +01:00
# Built-in Custom Emoji
{{#each emojiCollections}}
## {{capitalize this.name}}
2023-01-27 01:37:29 +01:00
2023-01-27 05:46:10 +01:00
<Story
name="{{capitalize this.name}}"
>
<a href="img/emoji/{{this.name}}/LICENSE.md" target="_blank">
2023-01-27 01:37:29 +01:00
LICENSE
</a>
<ImageRow images={[
{{#each this.images}}
{src: "{{this.src}}", name: "{{this.name}}"},
{{/each}}
]}/>
2023-01-27 05:46:10 +01:00
</Story>
2023-01-26 23:16:32 +01:00
{{/each}}