src/sticky.js
function sanitizeProps(props, toRemove) {
  props = {...props};
  for (let i = 0, l = toRemove.length; i < l; i += 1) {
    delete props[toRemove[i]]
  }
  return props;
}
function sanitizeProps(props, toRemove) {
  props = {...props};
  for (let i = 0, l = toRemove.length; i < l; i += 1) {
    delete props[toRemove[i]]
  }
  return props;
}
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