import { __assign } from "tslib";
import { jsx as _jsx } from "react/jsx-runtime";
export var renderCompatibleChildren = function (children, _a) {
    var fixMouseEventsOnDisabledChildren = _a.fixMouseEventsOnDisabledChildren, onMouseEnter = _a.onMouseEnter, onMouseLeave = _a.onMouseLeave;
    return fixMouseEventsOnDisabledChildren ? (_jsx("span", __assign({ className: "zent-btn-disabled-wrapper", onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, "data-zv": 'v10.0.11' }, { children: children }), void 0)) : (children);
};
