Tabs
The Tabs component is used to organize content into multiple sections with navigation.
Typescript
TypeScript is a programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript and adds optional static typing to the language.
Installation
Usage
Apple
Variants
Disabled Tabs
Apple
Default Index Tabs
Mango
Props
Tabs
| Name | Type | Default | Description |
|---|---|---|---|
| groupId | string | undefined | Identifier for sharing value of tabs |
| persist | boolean | false | Enable persistent state |
| defaultIndex | number | 0 | Default index of the selected tab |
| disabled | boolean | false | Disable all tabs |
| items | string[] | [] | Array of items to be used as tab labels |
Tab
| Name | Type | Default | Description |
|---|---|---|---|
| value | string | Value of the tab, used for identifying the selected tab | |
| className | string | "" | Additional class names for the container |

