thelounge/client/components/MessageTypes/raw.vue

23 lines
449 B
Vue
Raw Normal View History

2019-07-17 09:34:23 +02:00
<template>
<span class="content">{{ message.text }}</span>
</template>
<script lang="ts">
import {defineComponent, PropType} from "vue";
import {ClientNetwork, ClientMessage} from "../../js/types";
export default defineComponent({
2019-07-17 09:34:23 +02:00
name: "MessageTypeRaw",
props: {
network: {
type: Object as PropType<ClientNetwork>,
required: true,
},
message: {
type: Object as PropType<ClientMessage>,
required: true,
},
2019-07-17 09:34:23 +02:00
},
});
2019-07-17 09:34:23 +02:00
</script>