mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-29 12:41:10 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
		
			544 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			544 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <TabPanel :class="[tabPanelContainer, 'focus:outline-none']">
 | |
|     <!-- focus:ring-1 focus:ring-jet focus:ring-opacity-60 -->
 | |
|     <slot />
 | |
|   </TabPanel>
 | |
| </template>
 | |
| 
 | |
| <script setup>
 | |
| import { TabPanel } from '@headlessui/vue'
 | |
| 
 | |
| const props = defineProps({
 | |
|   title: {
 | |
|     type: [String, Number],
 | |
|     default: 'Tab',
 | |
|   },
 | |
|   count: {
 | |
|     type: [String, Number],
 | |
|     default: '',
 | |
|   },
 | |
|   countVariant: {
 | |
|     type: [String, Number],
 | |
|     default: '',
 | |
|   },
 | |
|   tabPanelContainer: {
 | |
|     type: String,
 | |
|     default: 'py-4 mt-px',
 | |
|   },
 | |
| })
 | |
| </script>
 |