Files
calorie-tracker/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte
2024-01-18 00:45:21 +02:00

16 lines
426 B
Svelte

<script lang="ts">
import { AlertDialog as AlertDialogPrimitive } from 'bits-ui';
import { cn } from '$lib/utils';
type $$Props = AlertDialogPrimitive.DescriptionProps;
let className: $$Props['class'] = undefined;
export { className as class };
</script>
<AlertDialogPrimitive.Description
class={cn('text-sm text-muted-foreground', className)}
{...$$restProps}>
<slot />
</AlertDialogPrimitive.Description>