React PropTypes

Javascrpt is dynamic language, it doesn't have static typechecking. You can't syntactically specify that you function works only with strings, or only with numbers. Same applies to React components. You can pass a prop t