Adding type to React components with PropTypes
React components can pass down and receive information as properties, or props
, to manipulate data that is rendered on screen. But when developing an app in React.js, we can often run into type errors that are common when programming in a language…