frontend/app/components/ui/alert/AlertDescription.vue

18 lines
402 B
Vue
Raw Normal View History

<script setup lang="ts">
import type { HTMLAttributes } from "vue";
2025-06-26 22:39:02 +02:00
import { cn } from "@/lib/utils";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<div
data-slot="alert-description"
:class="cn('text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed', props.class)"
>
<slot />
</div>
</template>