dd05ee3a65
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
24 lines
594 B
Vue
24 lines
594 B
Vue
<template>
|
|
<div>
|
|
<ParsedMessage :text="text" :message="message" :network="network" />
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import ParsedMessage from "../../../client/components/ParsedMessage.vue";
|
|
import {defineComponent, PropType} from "vue";
|
|
import {ClientMessage, ClientNetwork} from "../../../client/js/types";
|
|
|
|
export default defineComponent({
|
|
name: "ParsedMessageTestWrapper",
|
|
components: {
|
|
ParsedMessage,
|
|
},
|
|
props: {
|
|
text: String,
|
|
message: {type: Object as PropType<ClientMessage>},
|
|
network: {type: Object as PropType<ClientNetwork>, required: true},
|
|
},
|
|
});
|
|
</script>
|