Get groups loading on login/page load

This commit is contained in:
Jon Staab
2024-08-13 17:58:26 -07:00
parent 85fb09fc5f
commit 5bec4531ea
13 changed files with 265 additions and 92 deletions
+1
View File
@@ -1,3 +1,4 @@
<button on:click type="button" {...$$props}>
<slot />
</button>
+14
View File
@@ -0,0 +1,14 @@
<script lang="ts">
import {slide, fade} from 'svelte/transition'
export let loading
</script>
<span class="flex items-center">
{#if loading}
<span class="pr-3" transition:slide|local={{axis: 'x'}}>
<span class="loading loading-spinner" transition:fade|local={{duration: 100}} />
</span>
{/if}
<slot />
</span>