2018-12-06 03:18:13 +01:00
|
|
|
<template>
|
2023-04-08 02:01:42 +02:00
|
|
|
<Mfm
|
|
|
|
:class="$style.root"
|
|
|
|
:text="user.name || user.username"
|
|
|
|
:plain="true"
|
|
|
|
:nowrap="nowrap"
|
|
|
|
:custom-emojis="user.emojis"
|
|
|
|
/>
|
2018-12-06 03:18:13 +01:00
|
|
|
</template>
|
|
|
|
|
2022-01-15 23:47:28 +01:00
|
|
|
<script lang="ts" setup>
|
2023-04-08 02:01:42 +02:00
|
|
|
import {} from "vue";
|
2023-07-17 00:32:32 +02:00
|
|
|
import type * as misskey from "calckey-js";
|
2018-12-06 03:18:13 +01:00
|
|
|
|
2023-04-08 02:01:42 +02:00
|
|
|
const props = withDefaults(
|
|
|
|
defineProps<{
|
|
|
|
user: misskey.entities.User;
|
|
|
|
nowrap?: boolean;
|
|
|
|
}>(),
|
|
|
|
{
|
|
|
|
nowrap: true,
|
2023-07-06 03:28:27 +02:00
|
|
|
},
|
2023-04-08 02:01:42 +02:00
|
|
|
);
|
2018-12-06 03:18:13 +01:00
|
|
|
</script>
|
2023-03-15 08:18:18 +01:00
|
|
|
|
|
|
|
<style lang="scss" module>
|
|
|
|
.root {
|
|
|
|
unicode-bidi: isolate;
|
|
|
|
}
|
|
|
|
</style>
|