mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-16 00:53:09 +02:00
16 lines
353 B
Vue
16 lines
353 B
Vue
|
<template>
|
||
|
<Mfm :text="user.name ?? user.username" :author="user" :plain="true" :nowrap="nowrap" :emoji-urls="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>
|