This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
mobile-app/src/libs/native-base/components/TabContainer.ts
2021-04-04 14:31:01 +02:00

18 lines
470 B
TypeScript

import { Platform } from 'react-native';
import variable from '../variables/platform';
import { OS } from '../variables/types';
export default (variables /* : * */ = variable) => {
const tabContainerTheme = {
elevation: 3,
height: 50,
flexDirection: 'row',
justifyContent: 'space-around',
borderBottomWidth: Platform.OS === OS.IOS ? variables.borderWidth : 0,
borderColor: variables.topTabBarBorderColor,
};
return tabContainerTheme;
};