mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-22 02:28:09 +09:00
31 lines
454 B
Vue
31 lines
454 B
Vue
<template>
|
|
<Mfm
|
|
:class="$style.root"
|
|
: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 "calckey-js";
|
|
|
|
const props = withDefaults(
|
|
defineProps<{
|
|
user: misskey.entities.User;
|
|
nowrap?: boolean;
|
|
}>(),
|
|
{
|
|
nowrap: true,
|
|
}
|
|
);
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.root {
|
|
unicode-bidi: isolate;
|
|
}
|
|
</style>
|