TabView
Tabs organize content across different screens, data sets, and other interactions.
TabView enables swipeable tabs.
Components#
- TabView.Item They are individual item of the parent Tab.
Usage#
Props#
TabView#
TabView.Item#
None
Reference#
TabView#
animationConfig#
Define the animation configurations.
| Type | Default |
|---|---|
| Omit<SpringAnimationConfig and TimingAnimationConfig, "toValue"> | {} |
animationType#
Choose the animation type among spring and timing. This is visible when there is tab change.
| Type | Default |
|---|---|
| "timing" or "spring" | spring |
onChange#
On Index Change Callback.
| Type | Default |
|---|---|
| (value: number) => any | None |
value#
Child position index value.
| Type | Default |
|---|---|
| number | 0 |
TabView.Item#
None