mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-24 08:33:37 +00:00
23 lines
539 B
Vue
23 lines
539 B
Vue
<script setup>
|
|
import { reactiveOmit } from '@vueuse/core';
|
|
import { DialogDescription } from 'reka-ui';
|
|
import { cn } from '@/lib/utils';
|
|
|
|
const props = defineProps({
|
|
asChild: { type: Boolean, required: false },
|
|
as: { type: null, required: false },
|
|
class: { type: null, required: false },
|
|
});
|
|
|
|
const delegatedProps = reactiveOmit(props, 'class');
|
|
</script>
|
|
|
|
<template>
|
|
<DialogDescription
|
|
:class="cn('text-sm text-muted-foreground', props.class)"
|
|
v-bind="delegatedProps"
|
|
>
|
|
<slot />
|
|
</DialogDescription>
|
|
</template>
|