forked from MapComplete/MapComplete
		
	Feature: add favourite
This commit is contained in:
		
							parent
							
								
									a32ab16a5e
								
							
						
					
					
						commit
						f9827dd6ae
					
				
					 68 changed files with 1641 additions and 885 deletions
				
			
		|  | @ -1,16 +1,18 @@ | |||
| <script lang="ts"> | ||||
|   import Icon from "./Icon.svelte" | ||||
|   import Icon from "./Icon.svelte"; | ||||
| 
 | ||||
|   /** | ||||
|    * Renders a 'marker', which consists of multiple 'icons' | ||||
|    */ | ||||
|   export let icons: { icon: string; color: string }[] | ||||
|   export let icons: { icon: string; color: string }[]; | ||||
| </script> | ||||
| 
 | ||||
| {#if icons !== undefined && icons.length > 0} | ||||
|   <div class="relative h-full w-full"> | ||||
|     {#each icons as icon} | ||||
|       <Icon icon={icon.icon} color={icon.color} /> | ||||
|       <div class="absolute top-0 left-0 h-full w-full"> | ||||
|         <Icon icon={icon.icon} color={icon.color} /> | ||||
|       </div> | ||||
|     {/each} | ||||
|   </div> | ||||
| {/if} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue