2018-03-17 22:39:21 +02:00
|
|
|
import { TabNavigator } from 'react-navigation';
|
2018-01-30 22:42:38 +00:00
|
|
|
|
2018-03-17 22:39:21 +02:00
|
|
|
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';
|
2018-01-30 22:42:38 +00:00
|
|
|
|
2018-05-28 20:18:11 +01:00
|
|
|
/** @type {AppStorage} */
|
2018-03-17 22:39:21 +02:00
|
|
|
let BlueApp = require('./BlueApp');
|
2018-01-30 22:42:38 +00:00
|
|
|
|
|
|
|
const Tabs = TabNavigator(
|
|
|
|
{
|
|
|
|
Wallets: {
|
|
|
|
screen: wallets,
|
2018-03-17 22:39:21 +02:00
|
|
|
path: 'wallets',
|
2018-01-30 22:42:38 +00:00
|
|
|
},
|
|
|
|
Transactions: {
|
|
|
|
screen: transactions,
|
2018-03-17 22:39:21 +02:00
|
|
|
path: 'trans',
|
2018-01-30 22:42:38 +00:00
|
|
|
},
|
|
|
|
Send: {
|
|
|
|
screen: send,
|
2018-03-17 22:39:21 +02:00
|
|
|
path: 'cart',
|
2018-01-30 22:42:38 +00:00
|
|
|
},
|
|
|
|
Receive: {
|
|
|
|
screen: receive,
|
2018-03-17 22:39:21 +02:00
|
|
|
path: 'receive',
|
2018-01-30 22:42:38 +00:00
|
|
|
},
|
|
|
|
Settings: {
|
|
|
|
screen: settins,
|
2018-03-17 22:39:21 +02:00
|
|
|
path: 'settings',
|
|
|
|
},
|
2018-06-24 23:22:46 +01:00
|
|
|
|
|
|
|
//
|
2018-01-30 22:42:38 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
tabBarPosition: 'bottom',
|
|
|
|
animationEnabled: true,
|
2018-06-24 23:22:46 +01:00
|
|
|
tabBarVisible: false,
|
2018-01-30 22:42:38 +00:00
|
|
|
tabBarOptions: {
|
2018-05-28 20:18:11 +01:00
|
|
|
showLabel: false,
|
2018-05-22 18:10:53 +01:00
|
|
|
activeTintColor: BlueApp.settings.foregroundColor,
|
2018-01-30 22:42:38 +00:00
|
|
|
activeBackgroundColor: '#33bdf1',
|
|
|
|
inactiveBackgroundColor: BlueApp.settings.brandingColor,
|
2018-05-22 18:10:53 +01:00
|
|
|
inactiveTintColor: BlueApp.settings.foregroundColor,
|
2018-03-17 22:39:21 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
);
|
2018-01-30 22:42:38 +00:00
|
|
|
|
2018-03-17 22:39:21 +02:00
|
|
|
export default Tabs;
|