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>
32 lines
633 B
Vue
32 lines
633 B
Vue
<script>
|
|
export default {
|
|
props: {
|
|
headerTitle: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
headerContent: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div class="border-b border-solid border-n-weak/60">
|
|
<div class="max-w-6xl w-full mx-auto pt-4 pb-0 px-8">
|
|
<h2 class="text-2xl text-slate-800 dark:text-slate-100 mb-1 font-medium">
|
|
{{ headerTitle }}
|
|
</h2>
|
|
<p
|
|
v-if="headerContent"
|
|
class="w-full text-slate-600 dark:text-slate-300 text-sm mb-2"
|
|
>
|
|
{{ headerContent }}
|
|
</p>
|
|
<slot />
|
|
</div>
|
|
</div>
|
|
</template>
|