2023-05-30 13:02:20 +00:00
|
|
|
<template>
|
|
|
|
<ModalComponent @close="$emit('close')">
|
|
|
|
<div>
|
|
|
|
<h3 class="text-xl" v-text="message" />
|
|
|
|
<div class="ml-auto mt-8 flex gap-2 w-min">
|
|
|
|
<button class="btn" v-t="'actions.cancel'" @click="$emit('close')" />
|
2023-05-31 07:50:59 +00:00
|
|
|
<button class="btn" v-t="'actions.okay'" @click="$emit('confirm')" />
|
2023-05-30 13:02:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</ModalComponent>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import ModalComponent from "./ModalComponent.vue";
|
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
ModalComponent,
|
|
|
|
},
|
|
|
|
props: {
|
|
|
|
message: String,
|
|
|
|
},
|
|
|
|
emits: ["close", "confirm"],
|
|
|
|
};
|
|
|
|
</script>
|