function isCallbackPropName(propName) {
  return /^on[A-Z]/.test(propName);
}
Checks if the proptype is a callback by checking if it starts with 'on'.

@param {string} propName the name of the proptype to check.
@returns {boolean} true if the proptype is a callback.