frontend/components/notes/attachments/audio.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

15 lines
358 B
Vue

<template>
<Base :attachment="attachment">
<audio :src="attachment.url" :alt="attachment.description ?? undefined" controls />
</Base>
</template>
<script lang="ts" setup>
import type { Attachment } from "@versia/client/types";
import Base from "./base.vue";
const { attachment } = defineProps<{
attachment: Attachment;
}>();
</script>