Top
TabPanel - Using the TabStrip
TabPanel
The <TabPanel /> also exposes the <TabStrip /> component which can be used separately.
For using the <TabStrip /> you have to import the component from '@zippytech/react-toolkit/TabPanel/TabStrip'.
Specify a tabs prop to be an array with objects having a title prop (which can be any valid React.Node) that will be used as the tab title. onActivate(activeIndex) is also supported to get notification of active tab changes.
activeIndex (controlled) and defaultActiveIndex (uncontrolled) are also supported, as well as any other <TabPanel /> props that refer to the tab title section.