mirror of
				https://github.com/soybeanjs/soybean-admin.git
				synced 2025-10-31 13:53:43 +08:00 
			
		
		
		
	feat(projects): 1.0 beta
This commit is contained in:
		
							
								
								
									
										26
									
								
								src/layouts/modules/theme-drawer/components/setting-item.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								src/layouts/modules/theme-drawer/components/setting-item.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| <script setup lang="ts"> | ||||
| defineOptions({ | ||||
|   name: 'SettingItem' | ||||
| }); | ||||
|  | ||||
| interface Props { | ||||
|   /** | ||||
|    * label | ||||
|    */ | ||||
|   label: string; | ||||
| } | ||||
|  | ||||
| defineProps<Props>(); | ||||
| </script> | ||||
|  | ||||
| <template> | ||||
|   <div class="flex-y-center justify-between w-full"> | ||||
|     <div> | ||||
|       <span class="text-base_text pr-8px">{{ label }}</span> | ||||
|       <slot name="suffix"></slot> | ||||
|     </div> | ||||
|     <slot></slot> | ||||
|   </div> | ||||
| </template> | ||||
|  | ||||
| <style scoped></style> | ||||
		Reference in New Issue
	
	Block a user