23 lines
449 B
Vue
23 lines
449 B
Vue
<script setup>
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const props = defineProps({
|
|
class: { type: null, required: false },
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<p
|
|
data-slot="item-description"
|
|
:class="
|
|
cn(
|
|
'text-muted-foreground line-clamp-2 text-sm leading-normal font-normal text-balance',
|
|
'[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</p>
|
|
</template>
|