mapcomplete/UI/Base/Loading.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
296 B
Svelte
Raw Normal View History

2023-03-28 05:13:48 +02:00
<script>
import ToSvelte from "./ToSvelte.svelte";
import Svg from "../../Svg";
</script>
<div class="pl-2 p-1 flex">
<div class="animate-spin self-center w-6 h-6 min-w-6">
<ToSvelte construct={Svg.loading_svg()}></ToSvelte>
2023-03-28 05:13:48 +02:00
</div>
<div class="ml-2">
<slot></slot>
</div>
</div>