2018-12-06 02:18:13 +00:00
|
|
|
<template>
|
2023-01-26 06:48:12 +00:00
|
|
|
<Mfm :text="user.name ?? user.username" :author="user" :plain="true" :nowrap="nowrap" :emoji-urls="user.emojis"/>
|
2018-12-06 02:18:13 +00:00
|
|
|
</template>
|
|
|
|
|
2022-01-15 22:47:28 +00:00
|
|
|
<script lang="ts" setup>
|
|
|
|
import { } from 'vue';
|
|
|
|
import * as misskey from 'misskey-js';
|
2018-12-06 02:18:13 +00:00
|
|
|
|
2022-01-15 22:47:28 +00:00
|
|
|
const props = withDefaults(defineProps<{
|
|
|
|
user: misskey.entities.User;
|
|
|
|
nowrap?: boolean;
|
|
|
|
}>(), {
|
|
|
|
nowrap: true,
|
2018-12-06 02:18:13 +00:00
|
|
|
});
|
|
|
|
</script>
|