import useComponents from "../../../../hooks/useComponents.js";
import React from "react";
import "./index.less";
//#region src/components/schedules/resources/relationProduct/index.tsx
const RelationProduct = ({ value, onChange }) => {
	const [RelationProduct] = useComponents({ components: ["RelationProduct"] });
	return /* @__PURE__ */ React.createElement("div", { className: "product-detail-card-module" }, /* @__PURE__ */ React.createElement("div", { className: "product-detail-card-title" }, "Products"), RelationProduct && /* @__PURE__ */ React.createElement(RelationProduct, {
		value,
		onChange,
		extraProps: { paginationSimple: true }
	}));
};
//#endregion
export { RelationProduct as default };
