<script setup>
import AddProductForm from "@/components/imports/AddProductForm.vue";
import AddProductVariantForm from "@/components/imports/AddProductVariantForm.vue";
import FileUpload from "@/components/media/FileUpload.vue";
</script>
<template>
  <FileUpload
    :type="['file']"
    class="mb-2"
    @files="onFiles"
  >
    <template #icon>
      <Icon
        name="material-symbols:upload-rounded"
        :size="20"
      />
    </template>
    <span class="font-medium">Import</span>
  </FileUpload>
  <AddProductVariantForm />
  <AddProductForm />
</template>
