aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Spinner.svelte6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/Spinner.svelte b/src/components/Spinner.svelte
index f08cb3f3..e55e91e4 100644
--- a/src/components/Spinner.svelte
+++ b/src/components/Spinner.svelte
@@ -1,5 +1,9 @@
+<script lang="ts">
+ let { class: className = "text-white" }: { class?: string } = $props();
+</script>
+
<svg
- class="mx-auto h-6 w-6 animate-spin text-white"
+ class={`mx-auto h-6 w-6 animate-spin ${className}`}
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"