mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-10-29 12:41:10 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			378 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			378 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <MenuItem v-slot="{ active }" v-bind="$attrs">
 | |
|     <a
 | |
|       href="#"
 | |
|       :class="[
 | |
|         active ? 'bg-gray-100 text-gray-900' : 'text-gray-700',
 | |
|         'group flex items-center px-4 py-2 text-sm font-normal',
 | |
|       ]"
 | |
|     >
 | |
|       <slot :active="active" />
 | |
|     </a>
 | |
|   </MenuItem>
 | |
| </template>
 | |
| 
 | |
| <script setup>
 | |
| import { MenuItem } from '@headlessui/vue'
 | |
| </script>
 |