title: How can a Tab2 know, during render, if it's the currently selected tab?
body: <p>How can a Tab2 know, during render, if it's the currently selected tab?</p>
  
  <p>I want to do this to change the content or style of the tab title (e.g., the selected tab's title is italicized).</p>
  
  <p>I'd prefer not to use onChange and manage the Tab2 state, as Tab2 already <em>knows</em> its own state.</p>
  
  <pre><code>  &lt;Tabs2 id="TabPane"&gt;
      &lt;Tab2
        id="TabFirst"
        panel={SomePanel}
      &gt;
        &lt;Text&gt;
         { isCurrentTabId("TabFirst") 
            ? "I am selected!" 
            : "I'm not selected"}
       &lt;/Text&gt;
      &lt;/Tab2&gt;
      &lt;Tab2 id="TabSecond"/&gt;
    &lt;/Tabs2&gt;
  
  
  const isCurrentTabId = (tabId) =&gt; { ??? }; 
  </code></pre>
  
  <p>What code goes where the "???" is?</p>
  
  <p>Thanks!</p>