mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-11-13 18:36:03 +00:00
feat: allow sending attachments in new conversations
- replace existing combobox selects with common component selectcombobox.vue
This commit is contained in:
24
frontend/src/components/button/CloseButton.vue
Normal file
24
frontend/src/components/button/CloseButton.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<Button
|
||||
variant="ghost"
|
||||
@click.prevent="onClose"
|
||||
size="xs"
|
||||
class="text-gray-400 dark:text-gray-500 hover:text-gray-600 hover:bg-gray-100 dark:hover:bg-gray-800 w-6 h-6 p-0"
|
||||
>
|
||||
<slot>
|
||||
<X size="16" />
|
||||
</slot>
|
||||
</Button>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { X } from 'lucide-vue-next'
|
||||
|
||||
defineProps({
|
||||
onClose: {
|
||||
type: Function,
|
||||
required: true
|
||||
}
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user