<template>
  <v-dialog
    v-model="show"
    persistent
    max-width="800"
  >
    <v-card>
      <slot name="dialogText" />

      <v-divider />

      <v-card-actions>
        <v-spacer />
        <slot name="dialogBtn" />
      </v-card-actions>
    </v-card>
  </v-dialog>
</template>

<script lang="ts">
import { defineComponent } from '@vue/composition-api'

export default defineComponent({
  props: {
    show: {
      type: Boolean,
      required: true
    }
  }
})
</script>

<style scoped>
</style>
