ssr on
This commit is contained in:
parent
95d6997774
commit
3e9a22e788
6 changed files with 16 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Reference in a new issue