import { c } from "react-compiler-runtime";
import React from "react";
import { createTeleporter } from "react-teleporter";
//#region src/utilities/page/PageSubHeaderAction.jsx
const PageSubHeaderActions = createTeleporter({ multiSources: true });
/**
* @type {React.FC}
*/
const PageSubHeaderActionsTarget = PageSubHeaderActions.Target;
/**
* Places a button in the App SubHeader
*/
const PageSubHeaderAction = (props) => {
	const $ = c(2);
	const { children } = props;
	let t0;
	if ($[0] !== children) {
		t0 = /* @__PURE__ */ React.createElement(PageSubHeaderActions.Source, null, children);
		$[0] = children;
		$[1] = t0;
	} else t0 = $[1];
	return t0;
};
//#endregion
export { PageSubHeaderAction, PageSubHeaderActionsTarget };

//# sourceMappingURL=PageSubHeaderAction.mjs.map