mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-11 22:33:32 +08:00
chore: fix running on ci
This commit is contained in:
committed by
satyajit.happy
parent
64900495f4
commit
860bc53042
@@ -1,3 +0,0 @@
|
||||
/* eslint-disable import/no-commonjs */
|
||||
|
||||
module.exports = require('./dist/navigators/createBottomTabNavigator');
|
||||
@@ -1,3 +0,0 @@
|
||||
/* eslint-disable import/no-commonjs */
|
||||
|
||||
module.exports = require('./dist/navigators/createMaterialTopTabNavigator');
|
||||
@@ -66,8 +66,8 @@ export default class TabBarTop extends React.PureComponent<Props> {
|
||||
|
||||
// Prepend '-1', so there are always at least 2 items in inputRange
|
||||
const inputRange = [-1, ...routes.map((x, i) => i)];
|
||||
const outputRange = inputRange.map(
|
||||
inputIndex => (inputIndex === index ? activeTintColor : inactiveTintColor)
|
||||
const outputRange = inputRange.map(inputIndex =>
|
||||
inputIndex === index ? activeTintColor : inactiveTintColor
|
||||
);
|
||||
const color = position.interpolate({
|
||||
inputRange,
|
||||
|
||||
Reference in New Issue
Block a user