iceshrimp/src/client/app/common/views/components/user-name.vue
2019-07-06 00:46:00 +09:00

17 lines
271 B
Vue

<template>
<mfm :text="user.name || user.username" :plain="true" :nowrap="true" :custom-emojis="user.emojis"/>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: {
user: {
type: Object,
required: true
}
}
});
</script>