nidus-sync/ts/components/ToastNotification.vue
Eli Ribble b68332afc0
Rip apart communications page into separate columns
I broke a bunch of stuff, but it'll be worth it, promise.
2026-03-22 06:36:01 +00:00

21 lines
575 B
Vue

<template>
<div class="toast-container position-fixed bottom-0 end-0 p-3">
<div class="toast" :class="{ show: show }" role="alert">
<div class="toast-header">
<i class="bi bi-check-circle text-success me-2"></i>
<strong class="me-auto">{{ title }}</strong>
<button type="button" class="btn-close" @click="show = false"></button>
</div>
<div class="toast-body">{{ message }}</div>
</div>
</div>
</template>
<script setup lang="ts">
interface Props {
message: string;
show: boolean;
title: string;
}
const props = defineProps<Props>();
</script>