forked from MapComplete/MapComplete
		
	Performance: trim svg.ts, use Svelte-SVG-componenets where possible (WIP)
This commit is contained in:
		
							parent
							
								
									ac5c60c3f0
								
							
						
					
					
						commit
						c13d80f062
					
				
					 37 changed files with 367 additions and 378 deletions
				
			
		|  | @ -1,6 +1,7 @@ | |||
| <script lang="ts"> | ||||
|   import ToSvelte from "./ToSvelte.svelte" | ||||
|   import Svg from "../../Svg" | ||||
|   import Share from "../../assets/svg/Share.svelte"; | ||||
| 
 | ||||
|   export let generateShareData: () => { | ||||
|     text: string | ||||
|  | @ -25,6 +26,6 @@ | |||
| 
 | ||||
| <button on:click={share} class="secondary m-0 h-8 w-8 p-0"> | ||||
|   <slot name="content"> | ||||
|     <ToSvelte construct={Svg.share_svg().SetClass("w-7 h-7 p-1")} /> | ||||
|     <Share class="w-7 h-7 p-1"/> | ||||
|   </slot> | ||||
| </button> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue