Files
chatwoot/app/javascript/dashboard/components/widgets/EmptyState.vue
Sivin Varghese 8066b36ebf chore: Update styles in settings pages (#11070)
---------

Co-authored-by: Pranav <pranavrajs@gmail.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2025-03-18 14:40:02 -07:00

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>