Skip to content

Commit de3fb6a

Browse files
committed
minor fixes in TabController.TabBar
1 parent aad1ec4 commit de3fb6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/incubator/TabController/TabBar.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ class TabBar extends PureComponent {
253253
iconColor={iconColor}
254254
selectedIconColor={selectedIconColor}
255255
activeBackgroundColor={activeBackgroundColor}
256+
key={item.label}
256257
{...item}
257258
{...this.context}
258259
index={index}
@@ -397,7 +398,7 @@ function runIndicatorTimer(clock, currentPage, values) {
397398
};
398399

399400
const config = {
400-
duration: 300,
401+
duration: 200,
401402
toValue: new Value(100),
402403
easing: Easing.inOut(Easing.ease)
403404
};

0 commit comments

Comments
 (0)