This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
Releases: satya164/react-native-tab-view
Releases · satya164/react-native-tab-view
v0.0.32
Breaking changes
<TabViewPage />
is deprecated. You should pass the samerenderScene
prop to<TabViewAnimated />
that you were passing to<TabViewPage />
earlier- If you were using a custom style interpolator for
<TabViewPage />
, you should just use a<Animated.View />
now and pass the style to it - The default styles for the pages already include
width
andtranslateX
style. So if you're using a custom style interpolator, you need to change it to accommodate the already applied translation
New features and improvements
- Add ability to use alternative pager components
- Make tab press ripple effect borderless on Android
- Add a hairline shadow below tabbar on iOS
Bug fixes
- Render indicator below tab labels
- Make sure tabs stay in sync with navigation state
- Set tab label background to transparent
v0.0.31
v0.0.29
Breaking changes
- Replace
configureAnimation
prop withconfigureTransition
for<TabViewTransitioner />
- Remove
panHandlers
prop from<TabViewPage />
New features
- Add a
swipeEnabled
prop to<TabViewPage />
- Add a
onTabItemPress
prop to<TabBar />
- Add a
renderBadge
prop to<TabBar />
- Add a
shouldOptimizeUpdates
prop to<TabViewTransitioner />
Bug fixes
- Don't defer rendering of tabbars till
onLayout
v0.0.28
v0.0.21
v0.0.20
v0.0.14
Breaking changes
TabViewPage.PanResponder.forSwipe
was renamed toTabViewPage.PanResponder.forHorizontal
TabViewPage.StyleInterpolator.forSwipe
was renamed toTabViewPage.StyleInterpolator.forHorizontal
TabViewPage.StyleInterpolator.forStatic
was removed, useconfigureAnimation
prop of<TabViewTransitioner />
insteadrenderLabel
prop for<TabBarTop />
can now only return React elements<TabBarTop />
no longer acceptslabelStyle
,labelActiveStyle
,labelInactiveStyle
props, userenderLabel
instead
New features
- Added
<TabBar />
component which can be used as a top or bottom tabbar - Added a
renderIcon
prop to<TabBarTop />
- Added a
configureAnimation
prop to<TabViewTransitioner />
which can be used to customize or disable animations