misc_pterodactyl-panel/resources/assets/scripts/components/MessageBox.vue
2018-08-22 22:29:20 -07:00

16 lines
428 B
Vue

<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>
<script>
export default {
name: 'message-box',
props: {
title: {type: String, required: false},
message: {type: String, required: true}
},
};
</script>