var __assign = globalThis && globalThis.__assign || function() {
  __assign = Object.assign || function(t) {
    for (var s, i = 1, n = arguments.length; i < n; i++) {
      s = arguments[i];
      for (var p in s)
        if (Object.prototype.hasOwnProperty.call(s, p))
          t[p] = s[p];
    }
    return t;
  };
  return __assign.apply(this, arguments);
};
function mergeProps(componentProps, defaultProps, globalComponentConfig) {
  var _defaultProps = __assign(__assign({}, defaultProps), globalComponentConfig);
  var props = __assign({}, componentProps);
  for (var propName in _defaultProps) {
    if (props[propName] === void 0) {
      props[propName] = _defaultProps[propName];
    }
  }
  return props;
}
export {
  mergeProps as default
};
//# sourceMappingURL=mergeProps.js.map
