mirror of
				https://github.com/Instadapp/assembly.git
				synced 2024-07-29 22:37:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			578 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			578 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div
 | |
|     class="rounded-lg flex-shrink-0 bg-white absolute z-10 flex flex-col py-2 mt-1 overflow-hidden border border-opacity-25 select-none shadow-notification dark:bg-dark-400 dark:border-opacity-20 border-ocean-blue-pure"
 | |
|     :class="{
 | |
|       'right-0 origin-top-right': align === 'right',
 | |
|       'left-0 origin-top-left': align === 'left',
 | |
|     }"
 | |
|   >
 | |
|     <slot />
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script>
 | |
| import { defineComponent } from '@nuxtjs/composition-api'
 | |
| 
 | |
| export default defineComponent({
 | |
|   props: {
 | |
|     align: { type: String, default: 'right' },
 | |
|   },
 | |
| })
 | |
| </script>
 | 
