<template>
  <new-convoy-template>
    <template #multi-step></template>
    <template #convoy-form>
      <new-convoy-form
        :loading="loading"
        @create-convoy="$emit('create-convoy', $event)"
      />
    </template>
  </new-convoy-template>
</template>

<script setup>
import { defineProps, defineEmits } from "vue";
import NewConvoyTemplate from "@/components/templates/Convoys/NewConvoyTemplate.vue";
import NewConvoyForm from "@/components/molecules/form/NewConvoyForm.vue";

defineProps({
  loading: { type: Boolean, default: false },
});

defineEmits(["createConvoy"]);
</script>
