chore: fix running on ci

This commit is contained in:
Satyajit Sahoo
2019-03-02 01:30:57 +01:00
committed by satyajit.happy
parent 64900495f4
commit 860bc53042
3 changed files with 2 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
/* eslint-disable import/no-commonjs */
module.exports = require('./dist/navigators/createBottomTabNavigator');

View File

@@ -1,3 +0,0 @@
/* eslint-disable import/no-commonjs */
module.exports = require('./dist/navigators/createMaterialTopTabNavigator');

View File

@@ -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,