import React, { FC } from "react";
import { ProductSchema } from "@/lib/client";
import getProductFieldList from "@/modules/dealModularEditorTabs/FulfillmentBase/shared/components/ProductSelect/utils/getProductFieldList";

type Props = {
    product: ProductSchema;
};

const ProductFieldsList: FC<Props> = ({ product }) => {
    const fieldList = getProductFieldList(product);

    return <>{fieldList}</>;
};

export default ProductFieldsList;
