forked from MapComplete/MapComplete
Refactoring: more cleanup of Svg.ts, remove a few old, unused classes
This commit is contained in:
parent
a50620a8ba
commit
114b72f6f7
7 changed files with 30 additions and 20 deletions
|
@ -2,13 +2,14 @@
|
|||
import ToSvelte from "./ToSvelte.svelte"
|
||||
import Svg from "../../Svg"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
import Loading from "../../assets/svg/Loading.svelte"
|
||||
|
||||
export let cls: string = undefined
|
||||
</script>
|
||||
|
||||
<div class={twMerge("flex p-1 pl-2", cls)}>
|
||||
<div class="min-w-6 h-6 w-6 shrink-0 animate-spin self-center">
|
||||
<ToSvelte construct={Svg.loading_svg()} />
|
||||
<Loading/>
|
||||
</div>
|
||||
<div class="ml-2">
|
||||
<slot />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue