/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-f1f3d22 | Cube Dev Team */
import { Icon } from "./Icon.js";
import { jsx } from "react/jsx-runtime";

//#region src/icons/wrap-icon.tsx
function wrapIcon(name, icon) {
	function IconWrapper(props) {
		return /* @__PURE__ */ jsx(Icon, {
			qa: name,
			"aria-hidden": "true",
			...props,
			children: icon
		});
	}
	IconWrapper.displayName = name;
	return IconWrapper;
}

//#endregion
export { wrapIcon };
//# sourceMappingURL=wrap-icon.js.map