frontend/app/components/notes/attachments/file.vue

22 lines
605 B
Vue
Raw Normal View History

<template>
2025-12-09 22:32:22 +01:00
<AttachmentBase :attachment="attachment" lightbox>
<div
class="flex flex-col items-center justify-center min-h-48 text-sm gap-2"
>
2026-01-09 21:47:12 +01:00
<File class="size-12" />
<span>File attachment</span>
</div>
2025-12-09 22:32:22 +01:00
</AttachmentBase>
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/schemas";
import { File } from "lucide-vue-next";
import type { z } from "zod";
2025-12-09 22:32:22 +01:00
import AttachmentBase from "./attachment-base.vue";
const { attachment } = defineProps<{
attachment: z.infer<typeof Attachment>;
}>();
</script>