Tab
Tabs organize content across different screens, data sets, and other interactions.
Components#
- Tab.Item They are indivual item of the parent Tab. They are clickable and allows users to click and change Tab. Receives all Button props.
Usage#
Props#
Tab#
Tab.Item#
Reference#
Tab#
disableIndicator#
Disable the indicator below.
| Type | Default |
|---|---|
| boolean | None |
indicatorStyle#
Additional styling for tab indicator.
| Type | Default |
|---|---|
| View style(Object) | None |
onChange#
On Index Change Callback.
| Type | Default |
|---|---|
| (value: number) => void | Function |
value#
Child position index value.
| Type | Default |
|---|---|
| number | None |
variant#
Define the background Variant.
| Type | Default |
|---|---|
| "primary" or "default" | None |
Tab.Item#
active#
Allows to define if TabItem is active.
| Type | Default |
|---|---|
| boolean | None |
variant#
Define the background Variant.
| Type | Default |
|---|---|
| "primary" or "default" | None |