mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-03 18:53:17 -05:00 
			
		
		
		
	* unify look and feel + button validators * Fixes #741 * add github script to mealei-next * feat(frontend): 💄 improve user-flow for creating ingredients and units in editor Creating a unit/food in the recipe editor will not automatically assign that to the auto-complete element on the ingredient. It also no longer needs a dialog and will show at the bottom of the menu at all times. * fix whitespace issue with slot * add security check to properties * fix event refresh on delete * remove depreciated page * improve API token flow * hide recipe data if not advanced user * misc adds Co-authored-by: Hayden <hay-kot@pm.me>
		
			
				
	
	
		
			32 lines
		
	
	
		
			590 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			590 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <v-card color="background" flat class="pb-2">
 | 
						|
    <v-card-title class="headline py-0">
 | 
						|
      <v-icon v-if="icon !== ''" left>
 | 
						|
        {{ icon }}
 | 
						|
      </v-icon>
 | 
						|
      {{ title }}
 | 
						|
    </v-card-title>
 | 
						|
    <v-card-text v-if="$slots.default" class="pt-2">
 | 
						|
      <p class="pb-0 mb-0">
 | 
						|
        <slot />
 | 
						|
      </p>
 | 
						|
    </v-card-text>
 | 
						|
    <v-divider class="my-4"></v-divider>
 | 
						|
  </v-card>
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
export default {
 | 
						|
  props: {
 | 
						|
    title: {
 | 
						|
      type: String,
 | 
						|
      default: "Place Holder",
 | 
						|
    },
 | 
						|
    icon: {
 | 
						|
      type: String,
 | 
						|
      default: "",
 | 
						|
    },
 | 
						|
  },
 | 
						|
};
 | 
						|
</script>
 |