mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-26 00:46:44 -06:00
15 lines
341 B
Vue
15 lines
341 B
Vue
<template>
|
|
<Mfm :text="user.name || user.username" :plain="true" :nowrap="nowrap" :custom-emojis="user.emojis"/>
|
|
</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>
|