mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
27 lines
540 B
Vue
27 lines
540 B
Vue
<template>
|
|
<div class="empty-state py-16 px-1 ml-0 mr-0">
|
|
<h3
|
|
v-if="title"
|
|
class="text-slate-700 dark:text-slate-200 block text-center w-full text-xl font-thin"
|
|
>
|
|
{{ title }}
|
|
</h3>
|
|
<p
|
|
v-if="message"
|
|
class="block text-center text-slate-500 dark:text-slate-400 my-4 mx-auto w-[90%]"
|
|
>
|
|
{{ message }}
|
|
</p>
|
|
<slot />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
title: { type: String, default: '' },
|
|
message: { type: String, default: '' },
|
|
},
|
|
};
|
|
</script>
|