15 lines
327 B
Vue
15 lines
327 B
Vue
<template>
|
|
<Mfm :text="user.name ?? user.username" :author="user" :plain="true" :nowrap="nowrap"/>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { } from 'vue';
|
|
import * as misskey from 'misskey-js';
|
|
|
|
const props = withDefaults(defineProps<{
|
|
user: misskey.entities.User;
|
|
nowrap?: boolean;
|
|
}>(), {
|
|
nowrap: true,
|
|
});
|
|
</script>
|