Skip to main content
Version: 4.0.0-beta.0

TabView

Tabs organize content across different screens, data sets, and other interactions.

TabView enables swipeable tabs.

Components

Usage


Props

TabView

TabView.Item

None

Reference

TabView

animationConfig

Define the animation configurations.

TypeDefault
Omit<SpringAnimationConfig and TimingAnimationConfig, "toValue">{}

animationType

Choose the animation type among spring and timing. This is visible when there is tab change.

TypeDefault
"timing" or "spring"spring

onChange

On Index Change Callback.

TypeDefault
(value: number) => anyNone

value

Child position index value.

TypeDefault
number0

containerStyle

Styling for Component container.

TypeDefault
View style(Object)None

tabItemContainerStyle

Styling for TabView.Item Component container.

TypeDefault
View style(Object)None

TabView.Item

None