<script setup>
import ProductForm from "~/components/imports/ProductForm.vue";
import ProductVariantForm from "~/components/imports/ProductVariantForm.vue";

const props = defineProps({
  variant: Object,
});
</script>

<template>
  <h1 class="subtitle">Sản phẩm</h1>
  <ProductForm :variantId="variant.id" />
  <h1 class="subtitle">Phiên bản</h1>
  <ProductVariantForm :variantId="variant.id" />
</template>
