I understand that “PropTypes.func part checks that handleClick is a function”, however, I don’t understand what the meaning of propTypes itself. Is propTypes a custom property or is it a keyword? If it is a custom property of the component itself (not to be confused with the argument props), how does the component know where to look for it?
Challenge: Use PropTypes to Define the Props You Expect