"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.omitProps = omitProps;

function omitProps(oldProps, excludeProps) {
  var newProps = {};

  for (var _key in oldProps) {
    if (excludeProps.includes(_key)) {
      continue;
    }

    newProps[_key] = oldProps[_key];
  }

  return newProps;
}