mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-15 08:33:09 +02:00
14 lines
357 B
Vue
14 lines
357 B
Vue
<template>
|
|
<MkCustomEmoji v-if="reaction[0] === ':'" :name="reaction" :normal="true" :noStyle="noStyle" :url="emojiUrl"/>
|
|
<MkEmoji v-else :emoji="reaction" :normal="true" :noStyle="noStyle"/>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { } from 'vue';
|
|
|
|
const props = defineProps<{
|
|
reaction: string;
|
|
noStyle?: boolean;
|
|
emojiUrl?: string;
|
|
}>();
|
|
</script>
|