mapcomplete/UI/Base/Loading.svelte

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

14 lines
284 B
Svelte
Raw Normal View History

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