elk/components/account/AccountDisplayName.vue

16 lines
274 B
Vue
Raw Permalink Normal View History

<script setup lang="ts">
2023-01-08 06:21:09 +00:00
import type { mastodon } from 'masto'
defineProps<{
2023-01-08 06:21:09 +00:00
account: mastodon.v1.Account
}>()
</script>
<template>
<ContentRich
:content="getDisplayName(account, { rich: true })"
:emojis="account.emojis"
:markdown="false"
/>
</template>