feat: add image and video chip
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<script setup>
|
||||
defineProps({
|
||||
attachment: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="size-[72px] overflow-hidden contain-content rounded-xl cursor-pointer"
|
||||
>
|
||||
<img class="w-full h-full object-cover" :src="attachment.dataUrl" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user