mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-31 02:03:35 -04:00 
			
		
		
		
	Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com> Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
		
			
				
	
	
		
			37 lines
		
	
	
		
			524 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			524 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div>
 | |
|     <v-btn
 | |
|       variant="outlined"
 | |
|       class="rounded-xl my-1 mx-1"
 | |
|       :to="to"
 | |
|     >
 | |
|       <v-icon
 | |
|         v-if="icon != ''"
 | |
|         start
 | |
|       >
 | |
|         {{ icon }}
 | |
|       </v-icon>
 | |
|       {{ text }}
 | |
|     </v-btn>
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script lang="ts">
 | |
| export default defineNuxtComponent({
 | |
|   props: {
 | |
|     to: {
 | |
|       type: String,
 | |
|       required: true,
 | |
|     },
 | |
|     text: {
 | |
|       type: String,
 | |
|       required: true,
 | |
|     },
 | |
|     icon: {
 | |
|       type: String,
 | |
|       default: "",
 | |
|     },
 | |
|   },
 | |
| });
 | |
| </script>
 |