mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 16:38:20 +01:00
18 lines
477 B
Vue
18 lines
477 B
Vue
<template>
|
|
<div :class="['prose prose-sm block relative dark:prose-invert duration-200 !max-w-full break-words prose-a:no-underline prose-a:hover:underline', $style.content]" v-html="content" v-render-emojis="emojis">
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import type { Emoji } from "@versia/client/types";
|
|
|
|
const { content } = defineProps<{
|
|
content: string;
|
|
emojis: Emoji[];
|
|
}>();
|
|
</script>
|
|
|
|
<style module>
|
|
@import url("~/styles/content.css");
|
|
</style>
|