Skip to content

Modern Docker Management, Designed for Everyone

514 B
Raw Blame
<script lang="ts">
	import type { HTMLAttributes } from 'svelte/elements';

	import type { WithElementRef } from '#lib/utils.js';
	import { cn } from '#lib/utils.js';

	let {
		ref = $bindable(null),
		class: className,
		children,
		...restProps
	}: WithElementRef<HTMLAttributes<HTMLDivElement>> = $props();
</script>

<div
	bind:this={ref}
	data-slot="alert-description"
	class={cn('text-sm group-data-[size=sm]/alert:text-xs [&_p]:leading-relaxed', className)}
	{...restProps}
>
	{@render children?.()}
</div>