Before prop-types and create-react-class modules, this component had two warnings when React Version is 15.*
"Warning: Accessing createClass via the main React package is deprecated, and will be removed in React v16.0. Use a plain JavaScript class instead. If you're not yet ready to migrate, create-react-class v15.* is available on npm as a temporary, drop-in replacement. For more info see https://fb.me/react-create-class"
and
"Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs"
Before
prop-types
andcreate-react-class
modules, this component had two warnings when React Version is 15.*and
This pull request solve the warnings