import { containers } from "./containers.js";
import React from "react";
//#region src/components/pisellContainer/index.tsx
const PisellContainer = (props) => {
	const { renderType, children, props: cptProps } = props;
	/** undefined | "" | null 渲染到当前位置 */
	if (!renderType) return children;
	const Container = containers[renderType];
	if (!Container) {
		console.error("Container not found for renderType:", renderType);
		return null;
	}
	return /* @__PURE__ */ React.createElement(Container, cptProps, children);
};
//#endregion
export { PisellContainer as default };
