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#
disableIndicatorDisable the indicator below.
Type | Default |
---|---|
boolean | None |
#
indicatorStyleAdditional styling for tab indicator.
Type | Default |
---|---|
View style(Object) | None |
#
onChangeOn Index Change Callback.
Type | Default |
---|---|
(value: number) => void | Function |
#
valueChild position index value.
Type | Default |
---|---|
number | None |
#
variantDefine the background Variant.
Type | Default |
---|---|
"primary" or "default" | None |
#
Tab.Item#
activeAllows to define if TabItem is active.
Type | Default |
---|---|
boolean | None |
#
variantDefine the background Variant.
Type | Default |
---|---|
"primary" or "default" | None |