mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-21 15:25:09 +01:00
a235869cfa
Make mk-user-name component
16 lines
305 B
Vue
16 lines
305 B
Vue
<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>
|