BlueWallet/MainBottomTabs.js

93 lines
1.8 KiB
JavaScript
Raw Normal View History

2018-09-18 08:48:53 +02:00
import { createStackNavigator } from 'react-navigation';
2018-01-30 23:42:38 +01:00
2018-03-17 21:39:21 +01:00
import wallets from './screen/wallets';
import AddWallet from './screen/wallets/add';
import ImportWallet from './screen/wallets/import';
import WalletDetails from './screen/wallets/details';
import WalletExport from './screen/wallets/export';
import scanQrWif from './screen/wallets/scanQrWif';
import details from './screen/transactions/details';
import rbf from './screen/transactions/RBF';
import createrbf from './screen/transactions/RBF-create';
import receiveDetails from './screen/receive/details';
import sendDetails from './screen/send/details';
import sendScanQrAddress from './screen/send/scanQrAddress';
import sendCreate from './screen/send/create';
import ManageFunds from './screen/lnd/manageFunds';
import ScanLndInvoice from './screen/lnd/scanLndInvoice';
2018-01-30 23:42:38 +01:00
2018-09-18 09:24:42 +02:00
const Tabs = createStackNavigator(
{
Wallets: {
screen: wallets,
path: 'wallets',
navigationOptions: {
header: null,
},
},
AddWallet: {
screen: AddWallet,
},
ImportWallet: {
screen: ImportWallet,
},
ScanQrWif: {
screen: scanQrWif,
},
WalletDetails: {
screen: WalletDetails,
},
WalletExport: {
screen: WalletExport,
},
//
TransactionDetails: {
screen: details,
},
RBF: {
screen: rbf,
},
CreateRBF: {
screen: createrbf,
},
//
ReceiveDetails: {
screen: receiveDetails,
},
//
SendDetails: {
screen: sendDetails,
},
ScanQrAddress: {
screen: sendScanQrAddress,
},
CreateTransaction: {
screen: sendCreate,
},
// LND:
ManageFunds: {
screen: ManageFunds,
2018-09-18 09:24:42 +02:00
},
ScanLndInvoice: {
screen: ScanLndInvoice,
2018-01-30 23:42:38 +01:00
},
},
2018-09-18 09:24:42 +02:00
{
mode: 'modal',
2018-03-17 21:39:21 +01:00
},
2018-09-18 09:24:42 +02:00
);
2018-01-30 23:42:38 +01:00
2018-03-17 21:39:21 +01:00
export default Tabs;