title: Linking React components using props.childern
body: <p>I'm trying to build a tab system with my basic react knowledge. To use the tab system you'd do something like this.</p>
  
  <pre><code>&lt;Tabs onChange={this.handleTabChange}&gt;
      &lt;Tab id="home" title="Home"&gt;
      ...
  &lt;/Tabs&gt;
  </code></pre>
  
  <p>The Tabs component will render it's childern with {this.props.childern}</p>
  
  <p>The Tab component needs to communicate to the outer Tabs component that it has been clicked and the outer component keeps track of "currentTab" in it's state.</p>
  
  <p>If I were hard coding the Tabs and Tab components I could pass props from parent to child but as these components are going to be used repeatedly and are "dynamic" in the sense that they could comtain any childern I don't know where to begin wiring them up together.</p>
  
  <p>Any help would really be appreciated.</p>