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