hardlounge/test/client/components/ParsedMessageTestWrapper.vue

24 lines
594 B
Vue
Raw Normal View History

<template>
<div>
2019-07-17 09:33:59 +00:00
<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>