The Tabs component is used to display different sections of content that can be switched between using tab headers.
Prop | Type | Description |
---|---|---|
tabs | Array | Defines the tabs and their content. |
openDefault | number | Specifies the index of the tab to open by default. |
disabled | Array | Array of indexes specifying which tabs should be disabled. |
Prop | Type | Description |
---|---|---|
title | string | Title displayed in the tab header. |
disabled | boolean | Disables interaction with the tab. |
children | ReactNode | Content of the tab. |