mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
32 lines
603 B
Vue
32 lines
603 B
Vue
<template>
|
|
<div
|
|
class="bg-slate-25 dark:bg-slate-900 pt-4 pb-0 px-8 border-b border-solid border-slate-50 dark:border-slate-800/50"
|
|
>
|
|
<h2 class="text-2xl text-slate-800 dark:text-slate-100">
|
|
{{ headerTitle }}
|
|
</h2>
|
|
<p
|
|
v-if="headerContent"
|
|
class="w-full text-slate-600 dark:text-slate-300 text-sm mb-2"
|
|
>
|
|
{{ headerContent }}
|
|
</p>
|
|
<slot />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
headerTitle: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
headerContent: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|