BlueWallet/screen/wallets.js

36 lines
861 B
JavaScript
Raw Normal View History

2018-01-30 22:42:38 +00:00
import React, { Component } from 'react'
import { StackNavigator } from 'react-navigation'
import WalletsList from './wallets/list'
import AddWallet from './wallets/add'
import WalletDetails from './wallets/details'
import WalletExport from './wallets/export'
import scanQrWifLegacyAddress from './wallets/scanQrWifLegacyAddress'
import scanQrWifSegwitP2SHAddress from './wallets/scanQrWifSegwitP2SHAddress'
const WalletsNavigator = StackNavigator({
WalletsList: {
screen: WalletsList
},
AddWallet: {
screen: AddWallet
},
ScanQrWifLegacyAddress: {
screen: scanQrWifLegacyAddress
},
ScanQrWifSegwitP2SHAddress: {
screen: scanQrWifSegwitP2SHAddress
},
WalletDetails: {
screen: WalletDetails
},
WalletExport: {
screen: WalletExport
},
}, {
headerMode: 'none',
mode: 'modal'
})
export default WalletsNavigator