iceshrimp-legacy/packages/client/src/components/global/MkUserName.vue
ThatOneCalculator bdc35a343e
refactor: 🚨 linting fix
2023-07-16 15:32:32 -07:00

31 lines
460 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 type * 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>