mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
--------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
27 lines
524 B
Vue
27 lines
524 B
Vue
<script>
|
|
export default {
|
|
props: {
|
|
title: { type: String, default: '' },
|
|
message: { type: String, default: '' },
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div class="empty-state py-16 px-1 ml-0 mr-0">
|
|
<h3
|
|
v-if="title"
|
|
class="text-n-slate-12 block text-center w-full text-xl font-medium"
|
|
>
|
|
{{ title }}
|
|
</h3>
|
|
<p
|
|
v-if="message"
|
|
class="block text-center text-n-slate-11 dark:text-slate-400 my-4 mx-auto w-[90%]"
|
|
>
|
|
{{ message }}
|
|
</p>
|
|
<slot />
|
|
</div>
|
|
</template>
|