import React, { Component } from 'react'; import PropTypes from 'prop-types'; const reduceTargetKeys = (target, keys, predicate) => Object.keys(target).reduce(predicate, {}); const omit = (target = {}, keys = []) => reduceTargetKeys(target, keys, (a…