This commit is contained in:
Face 2025-06-27 21:10:36 +03:00
parent d7b43effa2
commit 42ffa3c51e
3 changed files with 4 additions and 5 deletions

View file

@ -6,12 +6,12 @@
ref = $bindable(null),
class: className,
...restProps
}: WithoutChildren<WithElementRef<HTMLAttributes<HTMLDivElement>>> = $props();
}: WithoutChildren<WithElementRef<HTMLAttributes<HTMLSpanElement>>> = $props();
</script>
<div
<span
bind:this={ref}
data-slot="skeleton"
class={cn("bg-accent animate-pulse rounded-md", className)}
{...restProps}
></div>
></span>