Hi why is there an inconsistency here with propType type definition vs PropType method call I’m starting to hate React! This is just plain awful for someone who is Dyslexic and struggles to see small nuance in code. Maybe in this question you could highlight where there are differences in capitalisation or even better catch such issues with your error handling?.
many programming languages are case sensitive. Also many rely on certain conventions regarding capitals in names of methods, all caps for constants, and something called camel-case for variables. Unfortunately paying attention to details of capitalization is a skill that takes some practice but most people who program daily get used to it eventually.