1
0
mirror of https://github.com/elk-zone/elk synced 2024-12-14 14:48:11 +09:00
elk/components/account/AccountDisplayName.vue

18 lines
367 B
Vue
Raw Normal View History

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