1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-07-09 07:46:48 +01:00
elk/components/account/AccountDisplayName.vue

18 lines
367 B
Vue

<script setup lang="ts">
import type { mastodon } from 'masto'
const { account, hideEmojis = false } = defineProps<{
account: mastodon.v1.Account
hideEmojis?: boolean
}>()
</script>
<template>
<ContentRich
:content="getDisplayName(account, { rich: true })"
:emojis="account.emojis"
:hide-emojis="hideEmojis"
:markdown="false"
/>
</template>