import { _objectSpread2 } from "../../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import React from "react";
import { Tooltip } from "antd";
import { QuestionCircleOutlined } from "@ant-design/icons";
import "./index.less";
//#region src/components/productExtension/fields/Actor/Container/index.tsx
const Container = ({ title, children, desc, isMargin = false, hint, hintProps }) => {
	return /* @__PURE__ */ React.createElement("div", { className: "pisell2_product-extension-container" }, /* @__PURE__ */ React.createElement("div", { className: "pisell2_product-extension-container-title-wrap" }, /* @__PURE__ */ React.createElement("div", { className: "pisell2_product-extension-container-title" }, title), hint ? /* @__PURE__ */ React.createElement(Tooltip, _objectSpread2({ title: hint }, hintProps), /* @__PURE__ */ React.createElement(QuestionCircleOutlined, { style: {
		marginLeft: 4,
		cursor: "pointer"
	} })) : null), children, /* @__PURE__ */ React.createElement("div", {
		className: "pisell2_product-extension-container-desc",
		style: { marginBottom: isMargin ? "15px" : "" }
	}, desc));
};
//#endregion
export { Container as default };
