mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
19 lines
340 B
Vue
19 lines
340 B
Vue
<script setup>
|
|
import { toRef } from 'vue';
|
|
import { useChannelIcon } from './provider';
|
|
import Icon from 'next/icon/Icon.vue';
|
|
|
|
const props = defineProps({
|
|
inbox: {
|
|
type: Object,
|
|
required: true,
|
|
},
|
|
});
|
|
|
|
const channelIcon = useChannelIcon(toRef(props, 'inbox'));
|
|
</script>
|
|
|
|
<template>
|
|
<Icon :icon="channelIcon" />
|
|
</template>
|