2018-09-05 19:21:58 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
2019-07-17 09:33:59 +00:00
|
|
|
<ParsedMessage :text="text" :message="message" :network="network" />
|
2018-09-05 19:21:58 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2022-06-19 00:25:21 +00:00
|
|
|
<script lang="ts">
|
2018-09-05 19:21:58 +00:00
|
|
|
import ParsedMessage from "../../../client/components/ParsedMessage.vue";
|
2022-06-19 00:25:21 +00:00
|
|
|
import {defineComponent, PropType} from "vue";
|
|
|
|
import {ClientMessage, ClientNetwork} from "../../../client/js/types";
|
2018-09-05 19:21:58 +00:00
|
|
|
|
2022-06-19 00:25:21 +00:00
|
|
|
export default defineComponent({
|
2018-09-05 19:21:58 +00:00
|
|
|
name: "ParsedMessageTestWrapper",
|
|
|
|
components: {
|
|
|
|
ParsedMessage,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
text: String,
|
2022-06-19 00:25:21 +00:00
|
|
|
message: {type: Object as PropType<ClientMessage>},
|
|
|
|
network: {type: Object as PropType<ClientNetwork>, required: true},
|
2018-09-05 19:21:58 +00:00
|
|
|
},
|
2022-06-19 00:25:21 +00:00
|
|
|
});
|
2018-09-05 19:21:58 +00:00
|
|
|
</script>
|