2023-07-27 14:31:52 +09:00
|
|
|
<!--
|
|
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
-->
|
|
|
|
|
2023-02-08 20:07:19 +09:00
|
|
|
<template>
|
2023-05-19 13:58:09 +09:00
|
|
|
<Mfm :text="user.name ?? user.username" :author="user" :plain="true" :nowrap="nowrap" :emojiUrls="user.emojis"/>
|
2023-02-08 20:07:19 +09:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { } from 'vue';
|
2023-09-04 13:33:38 +09:00
|
|
|
import * as Misskey from 'misskey-js';
|
2023-02-08 20:07:19 +09:00
|
|
|
|
|
|
|
const props = withDefaults(defineProps<{
|
2023-09-04 13:33:38 +09:00
|
|
|
user: Misskey.entities.User;
|
2023-02-08 20:07:19 +09:00
|
|
|
nowrap?: boolean;
|
|
|
|
}>(), {
|
|
|
|
nowrap: true,
|
|
|
|
});
|
|
|
|
</script>
|