implement logout dialog, fix unused imports
This commit is contained in:
parent
d81357ead1
commit
3aa8050b3f
15 changed files with 475 additions and 99 deletions
15
src/components/ui/dialog/DialogDescription.vue
Normal file
15
src/components/ui/dialog/DialogDescription.vue
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<script setup lang="ts">
|
||||
import { DialogDescription as DialogDescriptionPrimitive } from 'radix-vue'
|
||||
import { cn } from '@/lib/utils'
|
||||
import type { HTMLAttributes } from 'vue'
|
||||
|
||||
const props = defineProps<{
|
||||
class?: HTMLAttributes['class']
|
||||
}>()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<DialogDescriptionPrimitive :class="cn('text-sm text-muted-foreground', props.class)">
|
||||
<slot />
|
||||
</DialogDescriptionPrimitive>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue