/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
import { cx } from "../../../styles/styler.js";
import { cloneElement, forwardRef, isValidElement } from "react";
import { jsx } from "react/jsx-runtime";
//#region src/components/client/PaddleNav/PaddleNavContent.tsx
const PaddleNavContent = forwardRef(function PaddleNavContent({ asChild = false, className, children, ...rest }, ref) {
	const mergedClassName = cx("min-w-0 min-h-0 relative", className);
	if (asChild && isValidElement(children)) {
		const child = children;
		return cloneElement(child, {
			...rest,
			className: cx(mergedClassName, child.props.className),
			"data-paddle-content": "true"
		});
	}
	return /* @__PURE__ */ jsx("div", {
		ref,
		className: mergedClassName,
		"data-paddle-content": "true",
		...rest,
		children
	});
});
PaddleNavContent.displayName = "PaddleNavContent";
//#endregion
export { PaddleNavContent };
