whole_func_string: function sanitizeProps(props, toRemove) {
    props = {...props};
    for (let i = 0, l = toRemove.length; i < l; i += 1) {
      delete props[toRemove[i]]
    }
    return props;
  }
func_code_string: function sanitizeProps(props, toRemove) {
    props = {...props};
    for (let i = 0, l = toRemove.length; i < l; i += 1) {
      delete props[toRemove[i]]
    }
    return props;
  }
func_documentation_string: Simply removes all unwanted props in order to avoid react 'unkown prop' warning
  @param  {Object} props     that should be sanitized
  @param  {Object} toRemove  array of prop names to remove
  @return {Object}           cloned and sanitized props