react npm install proptype code example Example: install proptypes react npm install --save prop-types