2018-08-23 05:29:20 +00:00
|
|
|
<template>
|
|
|
|
<div class="lg:inline-flex" role="alert">
|
|
|
|
<span class="title" v-html="title" v-if="title && title.length > 0"></span>
|
|
|
|
<span class="message" v-html="message"></span>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2018-12-30 01:00:50 +00:00
|
|
|
<script lang="ts">
|
2018-08-23 05:29:20 +00:00
|
|
|
export default {
|
|
|
|
name: 'message-box',
|
|
|
|
props: {
|
|
|
|
title: {type: String, required: false},
|
|
|
|
message: {type: String, required: true}
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|