feat: add dyte bubble

This commit is contained in:
Shivam Mishra
2024-12-11 18:25:13 +05:30
parent 9807ed2fd7
commit ad6864fd18
4 changed files with 147 additions and 7 deletions
@@ -1,4 +1,3 @@
<!-- AttachmentBubble.vue -->
<script setup>
import { computed } from 'vue';
import { useI18n } from 'vue-i18n';
@@ -47,9 +46,11 @@ const senderName = computed(() => {
})
}}
</div>
<div class="truncate text-sm text-n-slate-11">
{{ content }}
</div>
<slot>
<div v-if="content" class="truncate text-sm text-n-slate-11">
{{ content }}
</div>
</slot>
</div>
</div>
<div v-if="action" class="px-3 pb-3">