diff options
| author | Fuwn <[email protected]> | 2024-10-28 15:32:46 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 15:32:46 -0700 |
| commit | 39b677404558ae3b7eb34e818d7ca308f62f9cb0 (patch) | |
| tree | 7f19fca39ecd4237e3c0d1aef2d8e9fa3cec7845 /src/lib/Loading/Grid.svelte | |
| parent | feat(graphql): paged badges query (diff) | |
| download | due.moe-svelte-5.tar.xz due.moe-svelte-5.zip | |
feat: update to svelte 5svelte-5
Diffstat (limited to 'src/lib/Loading/Grid.svelte')
| -rw-r--r-- | src/lib/Loading/Grid.svelte | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/Loading/Grid.svelte b/src/lib/Loading/Grid.svelte index 1a64b3e0..107b985b 100644 --- a/src/lib/Loading/Grid.svelte +++ b/src/lib/Loading/Grid.svelte @@ -1,10 +1,14 @@ <script lang="ts"> - export let colour = 'var(--fg)'; + interface Props { + colour?: string; + } + + let { colour = 'var(--fg)' }: Props = $props(); </script> <div class="grid" style={`--loader-colour: ${colour};`}> {#each Array.from({ length: 9 }) as _} - <div /> + <div></div> {/each} </div> |