import { n as AnalyticsId } from "../../constants2.js";
import { t as useExpand } from "../../useExpand.js";
import { t as HelpDetails_default } from "../../HelpDetails.js";
import { jsx } from "react/jsx-runtime";
var HelpExpanderInline = (props) => {
	const { children, className, controllerRef, expanded = false, onExpand, testId, ref } = props;
	const [isExpanded] = useExpand(expanded, onExpand);
	return isExpanded && /* @__PURE__ */ jsx("div", {
		className,
		"data-testid": testId,
		"data-analyticsid": AnalyticsId.HelpExpanderInline,
		ref,
		children: /* @__PURE__ */ jsx(HelpDetails_default, {
			controllerRef,
			children
		})
	});
};
HelpExpanderInline.displayName = "HelpExpanderInline";
var HelpExpanderInline_default = HelpExpanderInline;
export { HelpExpanderInline_default as default };

//# sourceMappingURL=index.js.map