title: passing props to children missing props
body: <p>How to pass props down to children?</p>
  
  <pre><code>const Tabs = ({ children, props }) =&gt; {
    console.log(props) //where is activeTab??
    return React.Children.map(children, child =&gt;
      React.cloneElement(child, { ...props })
    )
  }
  
  const App = () =&gt; {
    return (
      &lt;Tabs activeTab={1}&gt;
        &lt;div&gt;tabs children&lt;/div&gt;
      &lt;/Tabs&gt;
    );
  };
  </code></pre>
  
  <p>expecting props is an object where is has activeTab equal to 1 but above code gave me undefined?</p>
  
  <p><a href="https://codesandbox.io/s/vnz4z84vq7" rel="nofollow noreferrer">https://codesandbox.io/s/vnz4z84vq7</a></p>