forked from MapComplete/MapComplete
Chore: fix some type errors, remove more of Svg.ts
This commit is contained in:
parent
2e8b44659a
commit
329a1ed3b4
6 changed files with 36 additions and 18 deletions
|
|
@ -4,6 +4,7 @@
|
|||
import ToSvelte from "../Base/ToSvelte.svelte"
|
||||
import { Utils } from "../../Utils"
|
||||
import { Store } from "../../Logic/UIEventSource"
|
||||
import Envelope from "../../assets/svg/Envelope.svelte"
|
||||
|
||||
export let tags: Store<OsmTags>
|
||||
export let args: string[]
|
||||
|
|
@ -14,6 +15,6 @@
|
|||
</script>
|
||||
|
||||
<a class="button flex w-full items-center" href={url} style="margin-left: 0">
|
||||
<ToSvelte construct={Svg.envelope_svg().SetClass("w-8 h-8 mr-4 shrink-0")} />
|
||||
<Envelope class="w-8 h-8 mr-4 shrink-0"/>
|
||||
{button_text}
|
||||
</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue