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