This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import PropTypes from 'prop-types' | |
import { withNavigation } from 'react-navigation' | |
import { View, StyleSheet } from 'react-native' | |
import Screen from './Screen' | |
import WalletCard from './WalletCard' | |
import WalletDetails from './WalletDetails' | |
import { WALLET_TYPES } from '../walletData' | |
const WalletScreen = ({ navigation, wallets }) => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const WALLET_TYPES = { | |
ETHEREUM: 'Ethereum', | |
BITCOIN: 'Bitcoin' | |
} | |
export const WALLET_DATA = [ | |
{ | |
id: 1, | |
label: 'Investco Partners Wallet', | |
value: 18675, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import PropTypes from 'prop-types' | |
import { withNavigation } from 'react-navigation' | |
import { View, TouchableOpacity, Text, StyleSheet } from 'react-native' | |
import Ionicons from 'react-native-vector-icons/Ionicons' | |
class HeaderDropdown extends React.Component { | |
toggleDropdownVisibility = () => { | |
const isWalletDropdownVisible = this.props.navigation.getParam( | |
'isWalletDropdownVisible' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { ScrollView, StatusBar, StyleSheet } from 'react-native' | |
const Screen = ({ children }) => ( | |
<React.Fragment> | |
<StatusBar barStyle='light-content' /> | |
<ScrollView | |
style={styles.scrollView} | |
contentContainerStyle={styles.scrollViewContentContainer} | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { createAppContainer } from 'react-navigation' | |
import AppNavigator from './components/navigation/Navigator' | |
const AppContainer = createAppContainer(AppNavigator) | |
const App = () => <AppContainer /> | |
export default App |
NewerOlder