proptypes shape is required code example Example: proptypes shape PropTypes.shape({ name: PropTypes.string, age: PropTypes.number })