iceshrimp/packages/client/src/components/reaction-icon.vue
syuilo 14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

26 lines
450 B
Vue

<template>
<MkEmoji :emoji="reaction" :custom-emojis="customEmojis" :is-reaction="true" :normal="true" :no-style="noStyle"/>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
props: {
reaction: {
type: String,
required: true
},
customEmojis: {
required: false,
default: () => []
},
noStyle: {
type: Boolean,
required: false,
default: false
},
},
});
</script>