proptypes shape for array of a type code example Example: proptypes shape PropTypes.shape({ name: PropTypes.string, age: PropTypes.number })