<template>
  <BoxContainer class="success-container">
    <IllustrationTitle
      illustration="success"
      :title="title"
      :subtitle="subtitle"
    />

    <div class="row button-wrapper">
      <SpaceButton
        class="col-md-4 col-sm-6 col-12"
        @click="$emit('next')"
        :loading="loading"
      >
        {{ buttonTitle }}
      </SpaceButton>
    </div>
  </BoxContainer>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import StatusPageMixin from "@/mixins/StatusPageMixin";
export default defineComponent({
  mixins: [StatusPageMixin],
  setup() {},
});
</script>

<style lang="scss">
.success-container {
  .button-wrapper {
    margin-top: auto;

    .button {
      margin: 0 auto;
    }
  }
}
</style>
