title: Mapping multiple props in React
body: <p>I'm trying to render a child component by mapping multiple props at the same time. What I'd like to do is:</p>
  
  <pre><code>const Parent = props =&gt; {
    const whatever = props.(***need to pass both props***).map((firstProp, secondProp)  =&gt; (
      &lt;Child
        key={//}
        firstProp={firstProp}
        secondProp={secondProp}
      /&gt;
    )); 
  
    return (
      &lt;div&gt;
        {whatever}
      &lt;/div&gt;
    );
  }
  </code></pre>
  
  <p>What's the right way to do that?</p>