TabPanel

TabPanel holds the content for a single tab. Its parent `TabPanels` only ever mounts the active panel.

Props

React props
NameTypeRequiredDefaultDescription
classNamestring | ClassNameComponent<TabPanelInterface>NoClasses or state-aware element classes applied through the shared style contract.
indexnumberNoInjected by the parent TabPanels: position of this panel in the list.
tabsIdstringNoInjected by the parent TabPanels: identifier shared by every tab and panel of the group.