Skip to content

1.1.0

Compare
Choose a tag to compare
@danez danez released this 13 Jun 09:13
· 1514 commits to main since this release

New Features

  • Add nested TabList and TabPanel support (#184) (Emmet McPoland)

This allows random elements as children for the <Tabs /> component, for example:

<Tabs>
  <div id="tabs-nav-wrapper">
    <button>Left</button>
    <div className="tabs-container">
      <TabList>{tabs}</TabList>
    </div>
    <button>Right</button>
  </div>
  <div className="tab-panels">
    {tabPanels}
  </div>
</Tabs>