In this lesson we'll learn about how you can use the prop-types module to validate a custom React component's props. You can write you own PropTypes vlidators like such: const PropTypes = { string(props, propName, componentName) { if(typeof props[pro…