2026-01-01 13:12:57 +03:00
|
|
|
<script lang="ts">
|
2026-01-02 11:11:04 +03:00
|
|
|
import {
|
2026-01-01 14:37:18 +03:00
|
|
|
type WithElementRef,
|
|
|
|
|
type WithoutChildren,
|
2026-01-02 17:01:59 +03:00
|
|
|
cn,
|
2026-01-01 14:37:18 +03:00
|
|
|
} from '$shared/shadcn/utils/shadcn-utils.js';
|
2026-01-01 13:12:57 +03:00
|
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
|
|
|
|
|
|
let {
|
|
|
|
|
ref = $bindable(null),
|
|
|
|
|
class: className,
|
|
|
|
|
...restProps
|
|
|
|
|
}: WithoutChildren<WithElementRef<HTMLAttributes<HTMLDivElement>>> = $props();
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div
|
|
|
|
|
bind:this={ref}
|
|
|
|
|
data-slot="skeleton"
|
|
|
|
|
class={cn('bg-accent animate-pulse rounded-md', className)}
|
|
|
|
|
{...restProps}
|
|
|
|
|
>
|
|
|
|
|
</div>
|