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