mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-02 20:18:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			572 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			572 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-n-slate-12 mb-1 font-medium">
 | 
						|
        {{ headerTitle }}
 | 
						|
      </h2>
 | 
						|
      <p v-if="headerContent" class="w-full text-n-slate-11 text-sm mb-2">
 | 
						|
        {{ headerContent }}
 | 
						|
      </p>
 | 
						|
      <slot />
 | 
						|
    </div>
 | 
						|
  </div>
 | 
						|
</template>
 |