1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-07 09:29:59 +00:00
elk/components/status/StatusBody.vue
2022-11-25 15:12:49 +08:00

15 lines
351 B
Vue

<script setup lang="ts">
import type { Status } from 'masto'
const { status } = defineProps<{
status: Status
}>()
const { translation } = useTranslation(status)
</script>
<template>
<div class="status-body">
<ContentRichSetup :content="translation.visible ? translation.text : status.content" :emojis="status.emojis" />
</div>
</template>