2026-03-09 18:16:39 +01:00
|
|
|
<script lang="ts">
|
2026-03-09 19:38:37 +01:00
|
|
|
import { cn, type WithElementRef } from "$lib/utils.js";
|
|
|
|
|
import type { HTMLAttributes } from "svelte/elements";
|
2026-03-09 18:16:39 +01:00
|
|
|
|
2026-03-09 19:38:37 +01:00
|
|
|
let {
|
|
|
|
|
ref = $bindable(null),
|
|
|
|
|
class: className,
|
|
|
|
|
children,
|
|
|
|
|
...restProps
|
|
|
|
|
}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
|
2026-03-09 18:16:39 +01:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<div
|
2026-03-09 19:38:37 +01:00
|
|
|
bind:this={ref}
|
|
|
|
|
data-slot="empty-description"
|
|
|
|
|
class={cn(
|
|
|
|
|
"text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
|
|
|
|
|
className,
|
|
|
|
|
)}
|
|
|
|
|
{...restProps}
|
2026-03-09 18:16:39 +01:00
|
|
|
>
|
2026-03-09 19:38:37 +01:00
|
|
|
{@render children?.()}
|
2026-03-09 18:16:39 +01:00
|
|
|
</div>
|