The compiled sources use PropTypes from react library directly and React.PropTypes is deprecated as of React v15.5. We have to use the prop-types library instead.
var _react = require('react');
var eitherStringOrInteger = _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number]);
The compiled sources use PropTypes from react library directly and React.PropTypes is deprecated as of React v15.5. We have to use the prop-types library instead.