2025-05-05 20:12:41 +02:00
|
|
|
<template>
|
|
|
|
|
<Base :attachment="attachment" lightbox>
|
|
|
|
|
<div class="flex flex-col items-center justify-center min-h-48 text-sm gap-2">
|
|
|
|
|
<File class="size-12" />
|
|
|
|
|
<span>File attachment</span>
|
|
|
|
|
</div>
|
|
|
|
|
</Base>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
2025-05-26 11:19:15 +02:00
|
|
|
import type { Attachment } from "@versia/client/schemas";
|
2025-05-05 20:12:41 +02:00
|
|
|
import { File } from "lucide-vue-next";
|
2025-05-26 11:19:15 +02:00
|
|
|
import type { z } from "zod";
|
2025-05-05 20:12:41 +02:00
|
|
|
import Base from "./base.vue";
|
|
|
|
|
|
|
|
|
|
const { attachment } = defineProps<{
|
2025-05-26 11:19:15 +02:00
|
|
|
attachment: z.infer<typeof Attachment>;
|
2025-05-05 20:12:41 +02:00
|
|
|
}>();
|
|
|
|
|
</script>
|