shadcn-vue/apps/www/src/lib/registry/default/ui/sheet/SheetDescription.vue
Ahmed Mayara 309c87a293
[Feature]: Sheet (#23)
* fix: fix alert dialog missing emits

* feat: add sheet component
2023-09-02 22:36:45 +08:00

16 lines
383 B
Vue

<script setup lang="ts">
import { DialogDescription, type DialogDescriptionProps } from 'radix-vue'
import { cn } from '@/lib/utils'
const props = defineProps<DialogDescriptionProps & { class?: string }>()
</script>
<template>
<DialogDescription
:class="cn('text-sm text-muted-foreground', props.class)"
v-bind="props"
>
<slot />
</DialogDescription>
</template>