mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-19 13:54:12 +02:00
18 lines
495 B
Svelte
18 lines
495 B
Svelte
<script lang="ts">
|
|
import type {WithElementRef, WithoutChildren} from "bits-ui";
|
|
import type {HTMLAttributes} from "svelte/elements";
|
|
import {cn} from "$lib/utils.js";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: WithoutChildren<WithElementRef<HTMLAttributes<HTMLDivElement>>> = $props();
|
|
</script>
|
|
|
|
<div
|
|
{...restProps}
|
|
bind:this={ref}
|
|
class={cn("bg-primary/10 animate-pulse rounded-md", className)}
|
|
></div>
|