<template>
  <ReturnReasonDialog
    :open="open"
    :title="title"
    :description="description"
    :busy="busy"
    :application="application"
    @close="emit('close')"
    @confirm="emit('confirm', $event)"
  />
</template>

<script setup>
import ReturnReasonDialog from '../shared/ReturnReasonDialog.vue'

defineProps({
  open: { type: Boolean, required: true },
  title: { type: String, required: true },
  description: { type: String, required: true },
  busy: { type: Boolean, required: true },
  application: { type: Boolean, default: false }
})

const emit = defineEmits(['close', 'confirm'])
</script>
