mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 01:54:16 +02:00
17 lines
439 B
Svelte
17 lines
439 B
Svelte
<script lang="ts">
|
|
import type { WithElementRef } from 'bits-ui';
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
import { cn } from '$lib/utils.js';
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
children,
|
|
...restProps
|
|
}: WithElementRef<HTMLAttributes<HTMLParagraphElement>> = $props();
|
|
</script>
|
|
|
|
<p bind:this={ref} class={cn('text-sm text-muted-foreground', className)} {...restProps}>
|
|
{@render children?.()}
|
|
</p>
|