Sharkey/src/client/app/common/views/components/user-name.vue

17 lines
271 B
Vue
Raw Normal View History

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