<template>
  <div
    :class="[
      wrapperClass,
      'modal-actions-wrapper n-flex n-flex-wrap n-align-center n-justify-end n-gap-4',
    ]"
  >
    <slot :close="closeDialog" />
  </div>
</template>

<script>
import { defineComponent } from "vue";

export default defineComponent({
  name: "NDialogFooter",
  inject: ["closeDialog"],
  props: {
    wrapperClass: {
      type: String,
      default: "",
    },
  },
});
</script>
