function sanitizeChildProps(properties) {
  return omit(properties, Object.keys(buttonPropTypes));
}
Returns an object with properties that are relevant for the button element.

In case a wrong or no type is defined the type of the child button will be
set to `button`.