mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 00:18:20 +01:00
20 lines
543 B
Vue
20 lines
543 B
Vue
<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>
|
|
import type { Attachment } from "@versia/client/schemas";
|
|
import { File } from "lucide-vue-next";
|
|
import type { z } from "zod";
|
|
import Base from "./base.vue";
|
|
|
|
const { attachment } = defineProps<{
|
|
attachment: z.infer<typeof Attachment>;
|
|
}>();
|
|
</script>
|