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

17 lines
305 B
Vue
Raw Normal View History

2018-12-06 03:18:13 +01:00
<template>
<misskey-flavored-markdown :text="user.name || user.username" :should-break="false" :plain-text="true" :custom-emojis="user.emojis"/>
</template>
<script lang="ts">
import Vue from 'vue';
export default Vue.extend({
props: {
user: {
type: Object,
required: true
}
}
});
</script>