/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
"use client";
import { Fragment, isValidElement } from "react";
import { jsx } from "react/jsx-runtime";
import { TooltipAnchor } from "@ariakit/react";
//#region src/components/client/Tooltip/TooltipTrigger.tsx
function TooltipTrigger({ children }) {
	if (isValidElement(children) && children.type !== Fragment) return /* @__PURE__ */ jsx(TooltipAnchor, { render: children });
	return /* @__PURE__ */ jsx(TooltipAnchor, {
		className: "inline",
		children
	});
}
TooltipTrigger.displayName = "TooltipTrigger";
//#endregion
export { TooltipTrigger };
