mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	Porting changes from https://github.com/chatwoot/chatwoot/pull/10552 --------- Co-authored-by: Pranav <pranav@chatwoot.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com> Co-authored-by: Sojan <sojan@pepalo.com> Co-authored-by: iamsivin <iamsivin@gmail.com> Co-authored-by: Pranav <pranavrajs@gmail.com>
		
			
				
	
	
		
			30 lines
		
	
	
		
			556 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			556 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<script>
 | 
						|
export default {
 | 
						|
  props: {
 | 
						|
    headerTitle: {
 | 
						|
      type: String,
 | 
						|
      default: '',
 | 
						|
    },
 | 
						|
    headerContent: {
 | 
						|
      type: String,
 | 
						|
      default: '',
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 | 
						|
 | 
						|
<template>
 | 
						|
  <div class="pt-4 pb-0 px-8 border-b border-solid border-n-weak">
 | 
						|
    <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>
 | 
						|
</template>
 |