elk/components/account/AccountLink.vue

14 lines
287 B
Vue
Raw Normal View History

2022-11-23 17:39:48 +03:00
<script setup lang="ts">
import type { Account } from 'masto'
defineProps<{
account: Account
}>()
</script>
<template>
<NuxtLink :to="getAccountPath(account)">
2022-11-25 10:12:49 +03:00
<ContentRichSetup font-bold :content="getDisplayName(account)" :emojis="account.emojis" />
2022-11-23 17:39:48 +03:00
</NuxtLink>
</template>