frontend/components/notes/attachments/file.vue
Jesse Wierzbinski e986825056
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 0s
Deploy to GitHub Pages / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Docker / build (push) Failing after 0s
Mirror to Codeberg / Mirror (push) Failing after 0s
refactor: ♻️ Rewrite attachment renderers
2025-05-05 20:12:41 +02:00

19 lines
495 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/types";
import { File } from "lucide-vue-next";
import Base from "./base.vue";
const { attachment } = defineProps<{
attachment: Attachment;
}>();
</script>