title: error map in missing props reactjs proptypes
body: <p>I'm using Proptypes and I'm getting </p>
  
  <blockquote>
    <p>error  'map' is missing in props validation  react/prop-types</p>
  </blockquote>
  
  <p>How should I validate this map? </p>
  
  <pre><code>import React, { Fragment } from 'react'
  import PropTypes from 'prop-types';
  
  const ListComponent = props =&gt; {
      if (!props) return null
      return (
          &lt;Fragment&gt;
              {props.map((item,i) =&gt; &lt;div key={i}&gt;{item.name}&lt;/div&gt;)}
          &lt;/Fragment&gt;
      )
  }
  
  ListComponent.propTypes = {
      props: PropTypes.any
  };
  
  export default ListComponent
  </code></pre>