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