BlueWallet/MainBottomTabs.js
Igor Korsakov 75d054d0e7
Translations (#15)
ADD: locale
2018-05-28 20:18:11 +01:00

49 lines
1.0 KiB
JavaScript

import { TabNavigator } from 'react-navigation';
import transactions from './screen/transactions';
import wallets from './screen/wallets';
import send from './screen/send';
import settins from './screen/settings';
import receive from './screen/receive';
/** @type {AppStorage} */
let BlueApp = require('./BlueApp');
const Tabs = TabNavigator(
{
Wallets: {
screen: wallets,
path: 'wallets',
},
Transactions: {
screen: transactions,
path: 'trans',
},
Send: {
screen: send,
path: 'cart',
},
Receive: {
screen: receive,
path: 'receive',
},
Settings: {
screen: settins,
path: 'settings',
},
},
{
tabBarPosition: 'bottom',
animationEnabled: true,
tabBarOptions: {
showLabel: false,
activeTintColor: BlueApp.settings.foregroundColor,
activeBackgroundColor: '#33bdf1',
inactiveBackgroundColor: BlueApp.settings.brandingColor,
inactiveTintColor: BlueApp.settings.foregroundColor,
},
},
);
export default Tabs;