Component's Prop Types
PropTypes are not a mandatory section of react but is always nice to have for performance and for prop validation purposes. You can check if a specific component has specific props, ad additionally you can check for the type the value of this prop is, and even the schema of it.
First we must install the separate prop-types module from npm registry. Don't forget to import it to your script in order to connect it with a specific component as we will see during the next section.