<script setup lang="ts">
import { ref } from "vue";
const props = defineProps({
  modelValue: {
    type: Boolean,
  },
});
const emit = defineEmits(["update:modelValue"]);
</script>

<template>
  <div class="text-center mt-4 mt-sm-0">
      <v-dialog :model-value="modelValue" activator="parent"  class="dialog-mw" persistent>
        <v-card>
          <v-card-text>
            <slot name="text"></slot>
          </v-card-text>
          <v-card-actions>
            <slot name="actions"></slot>
          </v-card-actions>
        </v-card>
      </v-dialog>
  </div>
</template>
