const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
let react = require("react");
react = require_runtime.__toESM(react);
let classnames = require("classnames");
classnames = require_runtime.__toESM(classnames);
require("./index.less");
//#region src/components/pisellSectionHeaders/index.tsx
const prefixCls = "pisell-section-headers";
const PisellSectionHeaders = ({ backNode, centerNode, actionNode, className, style, onBack, onAction }) => {
	const classes = (0, classnames.default)(prefixCls, className);
	return /* @__PURE__ */ react.default.createElement("div", {
		className: classes,
		style: require_objectSpread2._objectSpread2({}, style)
	}, /* @__PURE__ */ react.default.createElement("div", { className: `${prefixCls}-content` }, backNode && /* @__PURE__ */ react.default.createElement("div", {
		className: `${prefixCls}-back`,
		onClick: onBack
	}, backNode), centerNode && /* @__PURE__ */ react.default.createElement("div", { className: `${prefixCls}-main` }, centerNode), actionNode && /* @__PURE__ */ react.default.createElement("div", {
		className: `${prefixCls}-actions`,
		onClick: onAction
	}, actionNode)));
};
//#endregion
exports.default = PisellSectionHeaders;
