aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-01 16:31:40 -0800
committerAdam Soltys <[email protected]>2026-03-01 16:31:40 -0800
commite3b7208ae23d7b56126b0b32b66dfa48140dc1f2 (patch)
tree33040400c3ed673c18e1396efb705b8fd16d9217 /src/components
parent5a83780e9f70ef7fe34d80e69877c54ca2ceffc0 (diff)
downloadcoinos-ui-e3b7208ae23d7b56126b0b32b66dfa48140dc1f2.tar.gz
coinos-ui-e3b7208ae23d7b56126b0b32b66dfa48140dc1f2.zip
fix spinner
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"