Files
libredesk/frontend/shared-ui/components/ui/error/Error.vue
T
Abhinav Raut 5b6a58fba0 wip: intercom like live chat with chat widget
- 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
2025-06-29 04:59:55 +05:30

20 lines
471 B
Vue

<script setup lang="ts">
import { TriangleAlert } from 'lucide-vue-next'
import { Alert, AlertDescription, AlertTitle } from '../alert'
defineProps({
errorMessage: String,
border: Boolean
})
</script>
<template>
<Alert variant="destructive" v-if="errorMessage" :class="{ 'border-0': !border }">
<TriangleAlert class="w-4 h-4" />
<AlertTitle>Error</AlertTitle>
<AlertDescription>
{{ errorMessage }}
</AlertDescription>
</Alert>
</template>