import React, { Component } from 'react'; import { ScrollView, Linking, Dimensions } from 'react-native'; import Ionicons from 'react-native-vector-icons/Ionicons'; import { Icon } from 'react-native-elements'; import { BlueLoading, BlueSpacing20, BlueButton, SafeBlueArea, BlueCard, BlueText, BlueHeader, } from '../BlueComponents'; import PropTypes from 'prop-types'; /** @type {AppStorage} */ let BlueApp = require('../BlueApp'); const { height } = Dimensions.get('window'); export default class About extends Component { static navigationOptions = { tabBarLabel: 'About', tabBarIcon: ({ tintColor, focused }) => ( ), }; constructor(props) { super(props); this.state = { isLoading: true, }; } async componentDidMount() { this.setState({ isLoading: false, }); } render() { if (this.state.isLoading) { return ; } return ( this.props.navigation.navigate('DrawerToggle')} /> } centerComponent={{ text: 'About', style: { color: '#fff', fontSize: 23 }, }} /> Blue Wallet is free and opensource Bitcoin wallet { Linking.openURL('https://github.com/Overtorment/BlueWallet'); }} title="github.com/Overtorment/BlueWallet" /> Licensed MIT Built with awesome: * React Native * Bitcoinjs-lib * blockcypher.com API * Nodejs * Expo * react-native-elements * rn-nodeify * bignumber.js * https://github.com/StefanoBalocco/isaac.js * Design by https://dribbble.com/chrometaphore { this.props.navigation.navigate('Selftest'); }} title="Run self test" /> { this.props.navigation.goBack(); }} /> ); } } About.propTypes = { navigation: PropTypes.shape({ navigate: PropTypes.func, goBack: PropTypes.func, }), };