refactor: change tintColor argument to just color

This commit is contained in:
satyajit.happy
2019-10-11 00:40:39 +02:00
parent 7a901af5b5
commit d685e78fa9
12 changed files with 53 additions and 48 deletions

View File

@@ -8,15 +8,15 @@ import Chat from '../Shared/Chat';
import SimpleStackScreen from './SimpleStack';
const getTabBarIcon = (name: string) => ({
tintColor,
color,
horizontal,
}: {
tintColor: string;
color: string;
horizontal: boolean;
}) => (
<MaterialCommunityIcons
name={name}
color={tintColor}
color={color}
size={horizontal ? 17 : 24}
/>
);