mirror of
https://github.com/abhinavxd/libredesk.git
synced 2025-10-23 05:11:57 +00:00
- new vue app for serving live chat widget, created subdirectories inside frontend dir `main` and `widget` - vite changes for both main app and widget app. - new backend live chat channel - apis for live chat widget
25 lines
468 B
Vue
25 lines
468 B
Vue
<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 '@shared-ui/components/ui/button'
|
|
import { X } from 'lucide-vue-next'
|
|
|
|
defineProps({
|
|
onClose: {
|
|
type: Function,
|
|
required: true
|
|
}
|
|
})
|
|
</script>
|