Update PropTypes for ReactElement & ReactNode
Merge pull request #2343 from zpao/proptypes-deprecation

Update PropTypes for ReactElement & ReactNode